test: add option to test-benchmark-timers
Add option to test-benchmark-timers such that all benchmark files return only a single set of results. (This helps prevent benchmark tests from taking a long time to run.) Alphabetize options in the file. PR-URL: https://github.com/nodejs/node/pull/21032 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
This commit is contained in:
parent
77d3f141cf
commit
862a22ab49
@ -6,7 +6,8 @@ const runBenchmark = require('../common/benchmark');
|
||||
|
||||
runBenchmark('timers',
|
||||
[
|
||||
'direction=start',
|
||||
'n=1',
|
||||
'type=depth',
|
||||
'n=1'
|
||||
],
|
||||
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|
||||
|
Loading…
x
Reference in New Issue
Block a user