From daead5a76731c9201daa32a146c2e89f3d522670 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 11 Jul 2017 20:03:14 -0700 Subject: [PATCH] test: reduce run time for test-benchmark-http Specify more configuration options to reduce run time by about a third. PR-URL: https://github.com/nodejs/node/pull/14180 Fixes: https://github.com/nodejs/node/issues/14177 Reviewed-By: Joyee Cheung Reviewed-By: Gibson Fahnestock Reviewed-By: Evan Lucas Reviewed-By: Colin Ihrig Reviewed-By: Refael Ackermann Reviewed-By: Michael Dawson --- test/sequential/test-benchmark-http.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/sequential/test-benchmark-http.js b/test/sequential/test-benchmark-http.js index 34fbc3732b..fb0c1390c5 100644 --- a/test/sequential/test-benchmark-http.js +++ b/test/sequential/test-benchmark-http.js @@ -23,11 +23,14 @@ const env = Object.assign({}, process.env, const child = fork(runjs, ['--set', 'benchmarker=test-double', '--set', 'c=1', + '--set', 'chunkedEnc=true', '--set', 'chunks=0', '--set', 'dur=0.1', '--set', 'key=""', '--set', 'len=1', + '--set', 'method=write', '--set', 'n=1', + '--set', 'res=normal', 'http'], {env}); child.on('exit', (code, signal) => {