Skip to content

Commit a3fdd2e

Browse files
TrottMylesBorins
authored andcommitted
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: #21032 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]>
1 parent 15aa3c1 commit a3fdd2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-benchmark-timers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ const runBenchmark = require('../common/benchmark');
66

77
runBenchmark('timers',
88
[
9+
'direction=start',
10+
'n=1',
911
'type=depth',
10-
'n=1'
1112
],
1213
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 commit comments

Comments
 (0)