Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Unified Diff: benchmarks/dart_handler_running/lib/main.dart

Issue 1443433002: Dart: Use dart:developer for tracing in startup benchmark. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Roll binary sdk Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | benchmarks/dart_startup/lib/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmarks/dart_handler_running/lib/main.dart
diff --git a/benchmarks/dart_handler_running/lib/main.dart b/benchmarks/dart_handler_running/lib/main.dart
index 7f69bc4d34739cd78f3f5107610af15ffca37461..fa19297aa94f99d036eafd882e63be93b4f4bf3c 100644
--- a/benchmarks/dart_handler_running/lib/main.dart
+++ b/benchmarks/dart_handler_running/lib/main.dart
@@ -9,20 +9,16 @@
// running when we issue the call to connectToApplication.
import 'dart:async';
+import 'dart:developer';
-import 'package:common/tracing_helper.dart';
import 'package:mojo/application.dart';
import 'package:mojo/core.dart';
class DartHandlerRunning extends Application {
- TracingHelper _tracing;
-
DartHandlerRunning.fromHandle(MojoHandle handle) : super.fromHandle(handle);
Future initialize(List<String> args, String url) async {
- _tracing =
- new TracingHelper.fromApplication(this, "example_traced_application");
- _tracing.traceInstant("connecting", "dart_handler_running");
+ Timeline.instantSync("connecting");
ApplicationConnection connection =
connectToApplication("mojo:dart_startup");
}
« no previous file with comments | « no previous file | benchmarks/dart_startup/lib/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698