Skip to content
Browse files

test: shorten test-benchmark-http

Add `--set key=""` to cut down the time it takes to run
test-benchmark-http by about a third.

Alphabetize options in `--set` list.

PR-URL: #13109
Reviewed-By: Refael Ackermann <>
Reviewed-By: Joyee Cheung <>
Reviewed-By: Colin Ihrig <>
Reviewed-By: Michael Dawson <>
  • Loading branch information...
Trott committed May 18, 2017
1 parent 9e4660b commit 171a43a98685d5cca6710d2d6bf4d20008de3426
Showing with 5 additions and 4 deletions.
  1. +5 −4 test/sequential/test-benchmark-http.js
@@ -20,12 +20,13 @@ const path = require('path');

const runjs = path.join(__dirname, '..', '..', 'benchmark', 'run.js');

const child = fork(runjs, ['--set', 'dur=0.1',
'--set', 'n=1',
'--set', 'len=1',
const child = fork(runjs, ['--set', 'benchmarker=test-double',
'--set', 'c=1',
'--set', 'chunks=0',
'--set', 'benchmarker=test-double',
'--set', 'dur=0.1',
'--set', 'key=""',
'--set', 'len=1',
'--set', 'n=1',
child.on('exit', (code, signal) => {

0 comments on commit 171a43a

Please sign in to comment.
You can’t perform that action at this time.