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

Unified Diff: examples/dart/mojo_rtt_benchmark/lib/main.dart

Issue 1394963002: Adds a couple more measures to the benchmarking app (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 months 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
Index: examples/dart/mojo_rtt_benchmark/lib/main.dart
diff --git a/examples/dart/mojo_rtt_benchmark/lib/main.dart b/examples/dart/mojo_rtt_benchmark/lib/main.dart
index ad5cf9d3122a415fb0f5076af25d5289bcc790f0..2b79e4b09a54472f61e773c8d86bffb3f84b4f65 100644
--- a/examples/dart/mojo_rtt_benchmark/lib/main.dart
+++ b/examples/dart/mojo_rtt_benchmark/lib/main.dart
@@ -19,7 +19,7 @@ import 'package:mojo/core.dart';
import 'package:mojom/mojo/examples/echo.mojom.dart';
class EchoTracingApp extends Application {
- static const Duration kWarmupDuration = const Duration(seconds: 1);
+ static const Duration kWarmupDuration = const Duration(seconds: 5);
static const Duration kDelay = const Duration(microseconds: 50);
TracingHelper _tracing;
List<EchoProxy> _echoProxies;
@@ -92,7 +92,7 @@ class EchoTracingApp extends Application {
return _echoProxies[idx]
.ptr
.echoString(s)
- .catchError((_) => _errorHandler());
+ .catchError((e) => _errorHandler());
}
_errorHandler() {

Powered by Google App Engine
This is Rietveld 408576698