Skip to content
Closed
Changes from all commits
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
test: increase speed of test-benchmark-http
More benchmark options have been added but not specified in the
benchmark test to reduce runtime of that test. This adds those options,
reducing run time by about 40% on my machine locally.
  • Loading branch information
Trott committed Apr 21, 2018
commit d615c7c71de87728e4e6ad24919699b97f4b3c76
4 changes: 3 additions & 1 deletion test/sequential/test-benchmark-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ runBenchmark('http',
'chunkedEnc=true',
'chunks=0',
'dur=0.1',
'input=',
'key=""',
'len=1',
'method=write',
'n=1',
'res=normal',
'type=asc'
'type=asc',
'value=X-Powered-By'
],
{
NODEJS_BENCHMARK_ZERO_ALLOWED: 1,
Expand Down