Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aec8e77

Browse filesBrowse 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 <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
1 parent 62bc80c commit aec8e77
Copy full SHA for aec8e77

File tree

Expand file treeCollapse file tree

1 file changed

+9
-8
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-8
lines changed
Open diff view settings
Collapse file

‎test/benchmark/test-benchmark-fs.js‎

Copy file name to clipboardExpand all lines: test/benchmark/test-benchmark-fs.js
+9-8Lines changed: 9 additions & 8 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.