Run benchmarks with --omit-type-checks (#131102)

We've decided to use the `--omit-type-checks` flag for our dart2wasm benchmarks. Right now, many of the benchmark results are dominated by type checks and most of what we are actually trying to measure get drowned out in the noise.
This commit is contained in:
Jackson Gardner
2023-07-26 10:10:07 -07:00
committed by GitHub
parent d4d57546fd
commit 8046e13373
2 changed files with 1 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ Future<TaskResult> runWebBenchmark(WebBenchmarkOptions benchmarkOptions) async {
if (benchmarkOptions.useWasm) ...<String>[
'--wasm',
'--wasm-opt=debug',
'--omit-type-checks',
],
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true',
'--web-renderer=${benchmarkOptions.webRenderer}',