mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
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 <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
parent
82aa34ed1f
commit
daead5a767
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user