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.
This commit is contained in:
Jackson Gardner 2025-02-05 12:50:18 -08:00 committed by GitHub
parent 14bc862547
commit 093485d91c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,6 @@ Future<TaskResult> runWebBenchmark(WebBenchmarkOptions benchmarkOptions) async {
options: <String>[
'web',
'--no-tree-shake-icons', // local engine builds are frequently out of sync with the Dart Kernel version
'-O2',
if (benchmarkOptions.useWasm) ...<String>['--wasm', '--no-strip-wasm'],
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true',
'--profile',