Flutter Engine
The Flutter Engine
|
To see a list of all available benchmarks, run:
To run an individual benchmark, run:
In order to make sure that our benchmarks don't regress in terms of their ability to run, we create one unit test per benchmark, and run those tests as part of our normal CI test suite.
To save time on the CI, we only run one iteration of each benchmark (--repeat=1
), and we run the benchmark on a smaller data set (--quick
).
See test/benchmark_test.dart
.
Register the new benchmark in the main()
method of benchmark/benchmarks.dart.
Our benchmarks run on a continuous performance testing system. Currently, the benchmarks need to be manually registered ahead of time.