Skip to content

Commit

Permalink
test: reduce run time for test-benchmark-http
Browse files Browse the repository at this point in the history
Specify more configuration options to reduce run time by about a third.

PR-URL: #14180
Fixes: #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>
  • Loading branch information
Trott authored and addaleax committed Jul 18, 2017
1 parent cd9eba9 commit 7325704
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/sequential/test-benchmark-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 7325704

Please sign in to comment.