Don't do performance testing in checked mode

This makes startup 1500ms instead of 1700ms.

@chinmaygarde @hixie
This commit is contained in:
Eric Seidel 2015-12-07 12:54:21 -08:00
parent 73e62d386b
commit 20deda1def

View File

@ -7,7 +7,7 @@ import 'dart:io';
import 'dart:async';
import 'dart:convert';
const int ITERATIONS = 3;
const int ITERATIONS = 5;
String runWithLoggingSync(List<String> cmd, {
bool checked: true,
@ -46,6 +46,7 @@ Future<double> 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), () => "");