mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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:
parent
d4d57546fd
commit
8046e13373
2
.ci.yaml
2
.ci.yaml
@ -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
|
||||
|
||||
@ -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}',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user