Skip to content

Commit

Permalink
test: reduce run time for string_decoder benchmark
Browse files Browse the repository at this point in the history
test-benchmark-string_decoder was timing out in CI. Reduce the run time
by sending appropriate options such that each benchmark file only runs
one combination of options.

PR-URL: nodejs#16118
Reviewed-By: Refael Ackermann <[email protected]>
  • Loading branch information
Trott committed Oct 10, 2017
1 parent a206bab commit fa265a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/parallel/test-benchmark-string_decoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ require('../common');

const runBenchmark = require('../common/benchmark');

runBenchmark('string_decoder', ['n=1']);
runBenchmark('string_decoder', ['chunk=16',
'encoding=utf8',
'inlen=32',
'n=1']);

0 comments on commit fa265a2

Please sign in to comment.