Skip to content

Commit

Permalink
test: add option to test-benchmark-timers
Browse files Browse the repository at this point in the history
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: #21032
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
  • Loading branch information
Trott authored and MylesBorins committed Jun 6, 2018
1 parent 15aa3c1 commit a3fdd2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-benchmark-timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const runBenchmark = require('../common/benchmark');

runBenchmark('timers',
[
'direction=start',
'n=1',
'type=depth',
'n=1'
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 comments on commit a3fdd2e

Please sign in to comment.