0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/benchmark/assert
Rich Trott 3c4c0db26a benchmark: provide default methods for assert
The benchmarks for `assert` all take a `method` configuration option,
but the allowable values are different across the files. For each
benchmark, provide an arbitrary default if `method` is set to an empty
string. This allows all the `assert` benchmarks to be run with a single
command but only on a single method. This is primarily useful for
testing that the assert benchmark files don't contain egregious errors.
(In other words, it's useful for testing.)

PR-URL: https://github.com/nodejs/node/pull/15174
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-09-15 15:34:39 -07:00
..
deepequal-buffer.js benchmark: provide default methods for assert 2017-09-15 15:34:39 -07:00
deepequal-map.js benchmark: provide default methods for assert 2017-09-15 15:34:39 -07:00
deepequal-object.js benchmark: provide default methods for assert 2017-09-15 15:34:39 -07:00
deepequal-prims-and-objs-big-array-set.js benchmark: provide default methods for assert 2017-09-15 15:34:39 -07:00
deepequal-prims-and-objs-big-loop.js benchmark: provide default methods for assert 2017-09-15 15:34:39 -07:00
deepequal-set.js benchmark: provide default methods for assert 2017-09-15 15:34:39 -07:00
deepequal-typedarrays.js benchmark: provide default methods for assert 2017-09-15 15:34:39 -07:00
throws.js benchmark: provide default methods for assert 2017-09-15 15:34:39 -07:00