From 7991b57cfdba96ddcd6553c8233cd6392e16a42a Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 14 Oct 2019 07:05:12 -0700 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: David Carlier --- test/benchmark/test-benchmark-fs.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/test/benchmark/test-benchmark-fs.js b/test/benchmark/test-benchmark-fs.js index efb2c453bde..3168e6f0a0c 100644 --- a/test/benchmark/test-benchmark-fs.js +++ b/test/benchmark/test-benchmark-fs.js @@ -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 });