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 | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/test/benchmark/test-benchmark-fs.js b/test/benchmark/test-benchmark-fs.js index efb2c453bde77d..3168e6f0a0ce1f 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', + '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 });