node/benchmark/misc
Joyee Cheung 022c743693 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 11:03:19 -06:00
..
function_call
console.js benchmark: reformat code for clarity 2016-12-05 03:22:16 +01:00
freelist.js benchmark: allow benchmarks to specify flags 2017-01-04 11:03:19 -06: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
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-29 11:14:57 -07:00