Skip to content
Permalink
Browse files

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>
  • Loading branch information
Trott authored and targos committed Oct 14, 2019
1 parent 62bc80c commit aec8e77ae1110d2fd8d5b105e64fd0d3f7a6ec90
Showing with 9 additions and 8 deletions.
  1. +9 −8 test/benchmark/test-benchmark-fs.js
@@ -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.
You can’t perform that action at this time.