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: #16118
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
Trott authored and targos committed Oct 18, 2017
1 parent cfa1ef5 commit 0eb2826
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/parallel/test-benchmark-string_decoder.js
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 0eb2826

Please sign in to comment.