Skip to content

Commit 0eb2826

Browse files
Trotttargos
authored andcommitted
test: reduce run time for string_decoder benchmark
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 <[email protected]>
1 parent cfa1ef5 commit 0eb2826

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/parallel/test-benchmark-string_decoder.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ require('../common');
44

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

7-
runBenchmark('string_decoder', ['n=1']);
7+
runBenchmark('string_decoder', ['chunk=16',
8+
'encoding=utf8',
9+
'inlen=32',
10+
'n=1']);

0 commit comments

Comments
 (0)