mirror of https://github.com/nodejs/node.git
test: fix fs benchmark test
Add missing option "mode". Alphabetize options for easier maintenance. PR-URL: https://github.com/nodejs/node/pull/29967 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>pull/29967/head
parent
c62503994a
commit
7991b57cfd
|
@ -7,16 +7,17 @@ const tmpdir = require('../common/tmpdir');
|
|||
tmpdir.refresh();
|
||||
|
||||
runBenchmark('fs', [
|
||||
'n=1',
|
||||
'size=1',
|
||||
'dur=0.1',
|
||||
'len=1024',
|
||||
'concurrent=1',
|
||||
'pathType=relative',
|
||||
'statType=fstat',
|
||||
'statSyncType=fstatSync',
|
||||
'dir=.github',
|
||||
'dur=0.1',
|
||||
'encodingType=buf',
|
||||
'filesize=1024',
|
||||
'dir=.github',
|
||||
'withFileTypes=false'
|
||||
'len=1024',
|
||||
'mode=callback',
|
||||
'n=1',
|
||||
'pathType=relative',
|
||||
'size=1',
|
||||
'statSyncType=fstatSync',
|
||||
'statType=fstat',
|
||||
'withFileTypes=false',
|
||||
], { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|
||||
|
|
Loading…
Reference in New Issue