node/benchmark/misc
Joyee Cheung 2826e6324c 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>
2017-01-04 22:45:34 +08:00
..
function_call tools,benchmark: increase lint compliance 2016-02-27 20:15:17 -08:00
console.js benchmark: reformat code for clarity 2016-11-27 21:51:09 -08:00
freelist.js benchmark: allow benchmarks to specify flags 2017-01-04 22:45:34 +08:00
set-immediate-breadth-args.js timers: improve setImmediate() performance 2016-03-18 19:25:51 -04:00
set-immediate-breadth.js timers: improve setImmediate() performance 2016-03-18 19:25:51 -04:00
set-immediate-depth-args.js timers: improve setImmediate() performance 2016-03-18 19:25:51 -04:00
set-immediate-depth.js timers: improve setImmediate() performance 2016-03-18 19:25:51 -04:00
startup.js tools,benchmark: increase lint compliance 2016-02-27 20:15:17 -08:00
util-extend-vs-object-assign.js benchmark: util._extend vs object.assign 2016-06-27 08:32:08 -07:00
v8-bench.js benchmark: make v8-bench.js output consistent 2016-09-26 17:23:49 +02:00