mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() Initial commit at https://dart-review.googlesource.com/c/sdk/+/276100 used kb because that's what was reported by the system. I wasn't allowed to add that to golem though, and then I forgot about it. This CL changes it to bytes so it can hopefully by allowed into golem. Change-Id: Ia7fae9ed47e6d237648e266c26f4a644f13571d3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310160 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Jens Johansen <jensj@google.com> |
||
---|---|---|
.. | ||
integration | ||
perf | ||
benchmarks.dart | ||
readme.md |
Analysis Server Benchmarks
How to run the benchmarks
To see a list of all available benchmarks, run:
dart benchmark/benchmarks.dart list
To run an individual benchmark, run:
dart benchmark/benchmarks.dart run <benchmark-id>
How they're tested
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
.
To add a new benchmark
Register the new benchmark in the main()
method of benchmark/benchmarks.dart.
On the bots
Our benchmarks run on a continuous performance testing system. Currently, the benchmarks need to be manually registered ahead of time.