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.
This commit is contained in:
MarkZ 2025-06-04 11:21:29 -07:00 committed by GitHub
parent 68a920255a
commit 08cb3936a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,10 @@ Future<TaskResult> 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',
],