Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test: reduce run time for test-benchmark-http
Specify more configuration options to reduce run time by about a third.

Refs: #14177
  • Loading branch information
Trott committed Jul 12, 2017
commit 93e385def1adb50d861ad3559e9bc48a8b89f564
2 changes: 2 additions & 0 deletions test/sequential/test-benchmark-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ 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', 'n=1',
'--set', 'res=normal',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add
'--set', 'method=write',

'http'],
{env});
child.on('exit', (code, signal) => {
Expand Down