summaryrefslogtreecommitdiff
path: root/test/benchmark/test-benchmark-misc.js
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2020-02-10 20:03:46 +0100
committerShelley Vohr <shelley.vohr@gmail.com>2020-02-17 12:38:10 -0800
commit5b3c4b3e7d631762d4e02189e4ce888a1f9ae2d4 (patch)
treebcd9fce1dd2d4766d6e7694e54463d70ac737701 /test/benchmark/test-benchmark-misc.js
parent30f55cebb6a015e48847f26b7e1fe3439c1b7654 (diff)
downloadnode-new-5b3c4b3e7d631762d4e02189e4ce888a1f9ae2d4.tar.gz
Revert "test: refactor all benchmark tests to use the new test option"
This reverts commit 78aa348f4e0c504cf949aea73a8e1bdcedc7f8b0. Refs: https://github.com/nodejs/node/pull/31396 PR-URL: https://github.com/nodejs/node/pull/31722 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/benchmark/test-benchmark-misc.js')
-rw-r--r--test/benchmark/test-benchmark-misc.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/benchmark/test-benchmark-misc.js b/test/benchmark/test-benchmark-misc.js
index 30707bfaf7..13bd41e540 100644
--- a/test/benchmark/test-benchmark-misc.js
+++ b/test/benchmark/test-benchmark-misc.js
@@ -4,4 +4,14 @@ require('../common');
const runBenchmark = require('../common/benchmark');
-runBenchmark('misc', { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
+runBenchmark('misc', [
+ 'concat=0',
+ 'dur=0.1',
+ 'method=',
+ 'n=1',
+ 'type=',
+ 'code=1',
+ 'val=magyarország.icom.museum',
+ 'script=test/fixtures/semicolon',
+ 'mode=worker'
+], { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });