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 authored and targos committed Nov 10, 2019
1 parent 62bc80c commit aec8e77
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',
], { NODE_TMPDIR: tmpdir.path, NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 comments on commit aec8e77

Please sign in to comment.