Skip to content

Commit aec8e77

Browse files
Trotttargos
authored andcommitted
test: fix fs benchmark test
Add missing option "mode". Alphabetize options for easier maintenance. PR-URL: #29967 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]>
1 parent 62bc80c commit aec8e77

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

test/benchmark/test-benchmark-fs.js

+9-8
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ const tmpdir = require('../common/tmpdir');
77
tmpdir.refresh();
88

99
runBenchmark('fs', [
10-
'n=1',
11-
'size=1',
10+
'concurrent=1',
11+
'dir=.github',
1212
'dur=0.1',
13+
'encodingType=buf',
14+
'filesize=1024',
1315
'len=1024',
14-
'concurrent=1',
16+
'mode=callback',
17+
'n=1',
1518
'pathType=relative',
16-
'statType=fstat',
19+
'size=1',
1720
'statSyncType=fstatSync',
18-
'encodingType=buf',
19-
'filesize=1024',
20-
'dir=.github',
21-
'withFileTypes=false'
21+
'statType=fstat',
22+
'withFileTypes=false',
2223
], { NODE_TMPDIR: tmpdir.path, NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 commit comments

Comments
 (0)