Commit 20deda1d authored by Eric Seidel's avatar Eric Seidel

Don't do performance testing in checked mode

This makes startup 1500ms instead of 1700ms.

@chinmaygarde @hixie
parent 73e62d38
......@@ -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), () => "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment