summaryrefslogtreecommitdiff
path: root/test/benchmark
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-02-14 19:50:49 -0500
committerRefael Ackermann <refack@gmail.com>2019-02-18 13:15:28 -0500
commitc7b6a22f1ac0cec67d7b884a2f7e5cbc566d8c86 (patch)
tree49f42ea9af3fd9fd3bdd04f978d935caf012775e /test/benchmark
parent146868c75ef01cfd887170dac2ab99eed9b29b08 (diff)
downloadnode-new-c7b6a22f1ac0cec67d7b884a2f7e5cbc566d8c86.tar.gz
benchmark,test: refactoring
PR-URL: https://github.com/nodejs/node/pull/26119 Refs: https://github.com/nodejs/node/pull/26101 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/benchmark')
-rw-r--r--test/benchmark/test-benchmark-http.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/benchmark/test-benchmark-http.js b/test/benchmark/test-benchmark-http.js
index d0c9ef1755..ed8423ba4c 100644
--- a/test/benchmark/test-benchmark-http.js
+++ b/test/benchmark/test-benchmark-http.js
@@ -14,14 +14,12 @@ const runBenchmark = require('../common/benchmark');
runBenchmark('http',
[
'benchmarker=test-double-http',
- 'c=1',
- 'e=0',
- 'url=long',
'arg=string',
+ 'c=1',
'chunkedEnc=true',
'chunks=0',
'dur=0.1',
- 'duplicates=1',
+ 'e=0',
'input=keep-alive',
'key=""',
'len=1',
@@ -29,8 +27,8 @@ runBenchmark('http',
'n=1',
'res=normal',
'type=asc',
+ 'url=long',
'value=X-Powered-By',
- 'headerDuplicates=1',
],
{
NODEJS_BENCHMARK_ZERO_ALLOWED: 1,