From 093485d91c15eea9b838ddb747aa0ec182277ea7 Mon Sep 17 00:00:00 2001 From: Jackson Gardner Date: Wed, 5 Feb 2025 12:50:18 -0800 Subject: [PATCH] Revert web_benchmarks back to default optimization level (`-O4`) (#162762) As per https://github.com/flutter/flutter/issues/162620. We got the data we were looking for with the experiment. Return the benchmarks to the default optimization level. --- dev/devicelab/lib/tasks/web_benchmarks.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/dev/devicelab/lib/tasks/web_benchmarks.dart b/dev/devicelab/lib/tasks/web_benchmarks.dart index e672cf18e3..74014ed4f2 100644 --- a/dev/devicelab/lib/tasks/web_benchmarks.dart +++ b/dev/devicelab/lib/tasks/web_benchmarks.dart @@ -38,7 +38,6 @@ Future runWebBenchmark(WebBenchmarkOptions benchmarkOptions) async { options: [ 'web', '--no-tree-shake-icons', // local engine builds are frequently out of sync with the Dart Kernel version - '-O2', if (benchmarkOptions.useWasm) ...['--wasm', '--no-strip-wasm'], '--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true', '--profile',