diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2016-12-29 20:07:08 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2017-01-04 22:45:34 +0800 |
commit | 2826e6324c80a3d1221e0ef529be22b6709d05cb (patch) | |
tree | 2784d84b890902c5c5d010674fe99c7c88d16c2b /doc/api/debugger.md | |
parent | f2f997ad1e416fd5ba295e84139848f77b37c40f (diff) | |
download | android-node-v8-2826e6324c80a3d1221e0ef529be22b6709d05cb.tar.gz android-node-v8-2826e6324c80a3d1221e0ef529be22b6709d05cb.tar.bz2 android-node-v8-2826e6324c80a3d1221e0ef529be22b6709d05cb.zip |
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: https://github.com/nodejs/node/pull/10448
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Diffstat (limited to 'doc/api/debugger.md')
0 files changed, 0 insertions, 0 deletions