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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -1079,7 +1079,6 @@ targets:
- name: Linux web_benchmarks_html
recipe: devicelab/devicelab_drone
presubmit: false
timeout: 60
properties:
dependencies: >-
@ -1096,7 +1095,6 @@ targets:
- .ci.yaml
- name: Linux web_benchmarks_skwasm
bringup: true
recipe: devicelab/devicelab_drone
presubmit: false
timeout: 60

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}',