From 08cb3936a7389693e55c52161a2ebeecb8488095 Mon Sep 17 00:00:00 2001 From: MarkZ Date: Wed, 4 Jun 2025 11:21:29 -0700 Subject: [PATCH] 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. --- dev/devicelab/lib/tasks/web_benchmarks.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev/devicelab/lib/tasks/web_benchmarks.dart b/dev/devicelab/lib/tasks/web_benchmarks.dart index 4a6d28df70a..4b430006d63 100644 --- a/dev/devicelab/lib/tasks/web_benchmarks.dart +++ b/dev/devicelab/lib/tasks/web_benchmarks.dart @@ -71,7 +71,10 @@ Future runWebBenchmark(WebBenchmarkOptions benchmarkOptions) async { '--web-browser-flag=--headless=new', '--web-browser-flag=--no-sandbox', '--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true', - if (benchmarkOptions.withHotReload) '--web-experimental-hot-reload', + if (benchmarkOptions.withHotReload) + '--web-experimental-hot-reload' + else + '--no-web-experimental-hot-reload', '--no-web-resources-cdn', 'lib/web_benchmarks_ddc.dart', ],