Skip to content

Commit

Permalink
test: fix fs benchmark test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trott committed Oct 14, 2019
1 parent c625039 commit 7991b57
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions test/benchmark/test-benchmark-fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ const tmpdir = require('../common/tmpdir');
tmpdir.refresh();

runBenchmark('fs', [
'n=1',
'size=1',
'concurrent=1',
'dir=.github',
'dur=0.1',
'encodingType=buf',
'filesize=1024',
'len=1024',
'concurrent=1',
'mode=callback',
'n=1',
'pathType=relative',
'statType=fstat',
'size=1',
'statSyncType=fstatSync',
'encodingType=buf',
'filesize=1024',
'dir=.github',
'withFileTypes=false'
'statType=fstat',
'withFileTypes=false',
], { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 comments on commit 7991b57

Please sign in to comment.