Please sign in to comment.
benchmark: allow benchmarks to specify flags
* Give createBenchmark and the Benchmark constructor a third argument for specifying the command line flags that this benchmark should be run with. The benchmarks are no longer run with --expose-internals by default, they will need to explicitly pass the flags. * Rename options to configs in createBenchmark and the Benchmark constructor to match the documentation since they are not optional. * Comment the properties of a Benchmark object Also improve the documentation about creating benchmarks * Add detailed description of the arguments of `createBenchmark` * Describe the two passes of running the benchmarks * Suggest what kind of code should go where in the benchmark example PR-URL: #10448 Reviewed-By: Andreas Madsen <firstname.lastname@example.org> Reviewed-By: Brian White <email@example.com>
- Loading branch information...
Showing with 81 additions and 25 deletions.