From 20deda1def173180efc8e597bef8860f5d1146d9 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Mon, 7 Dec 2015 12:54:21 -0800 Subject: [PATCH] Don't do performance testing in checked mode This makes startup 1500ms instead of 1700ms. @chinmaygarde @hixie --- dev/profile_startup.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/profile_startup.dart b/dev/profile_startup.dart index 7aaa1e6ee5..b5a01a8074 100755 --- a/dev/profile_startup.dart +++ b/dev/profile_startup.dart @@ -7,7 +7,7 @@ import 'dart:io'; import 'dart:async'; import 'dart:convert'; -const int ITERATIONS = 3; +const int ITERATIONS = 5; String runWithLoggingSync(List cmd, { bool checked: true, @@ -46,6 +46,7 @@ Future test(String tracesDir, String projectPath, int runNumber) async { runWithLoggingSync([ 'flutter', 'start', + '--no-checked', '--trace-startup' ], workingDirectory: projectPath); await new Future.delayed(const Duration(seconds: 2), () => "");