Commit f0ce2de9 authored by Eric Seidel's avatar Eric Seidel

Merge pull request #789 from eseidelGoogle/no_checked

Don't do performance testing in checked mode
parents e80756d6 20deda1d
...@@ -7,7 +7,7 @@ import 'dart:io'; ...@@ -7,7 +7,7 @@ import 'dart:io';
import 'dart:async'; import 'dart:async';
import 'dart:convert'; import 'dart:convert';
const int ITERATIONS = 3; const int ITERATIONS = 5;
String runWithLoggingSync(List<String> cmd, { String runWithLoggingSync(List<String> cmd, {
bool checked: true, bool checked: true,
...@@ -46,6 +46,7 @@ Future<double> test(String tracesDir, String projectPath, int runNumber) async { ...@@ -46,6 +46,7 @@ Future<double> test(String tracesDir, String projectPath, int runNumber) async {
runWithLoggingSync([ runWithLoggingSync([
'flutter', 'flutter',
'start', 'start',
'--no-checked',
'--trace-startup' '--trace-startup'
], workingDirectory: projectPath); ], workingDirectory: projectPath);
await new Future.delayed(const Duration(seconds: 2), () => ""); 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