Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 08cb393

Browse files
authored
Explicitly disabling hot reload for non-hot-reload web debug benchmarks (#170006)
Ensures that flipping our defaults for web hot reload won't affect our benchmarks.
1 parent 68a9202 commit 08cb393

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

dev/devicelab/lib/tasks/web_benchmarks.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ Future<TaskResult> runWebBenchmark(WebBenchmarkOptions benchmarkOptions) async {
7171
'--web-browser-flag=--headless=new',
7272
'--web-browser-flag=--no-sandbox',
7373
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true',
74-
if (benchmarkOptions.withHotReload) '--web-experimental-hot-reload',
74+
if (benchmarkOptions.withHotReload)
75+
'--web-experimental-hot-reload'
76+
else
77+
'--no-web-experimental-hot-reload',
7578
'--no-web-resources-cdn',
7679
'lib/web_benchmarks_ddc.dart',
7780
],

0 commit comments

Comments
 (0)