Skip to content

Commit 4601886

Browse files
Trottdanielleadams
authored andcommitted
benchmark: fix http/headers.js with test-double
The http/headers.js benchmark fails if wrk or autocannon are not installed. This is because the benchmark exceeds the default permissible length for HTTP headers. Reduce the largest benchmarks to fit within the 8192 default as that is what we should be optimizing for. Fixes: #31022 PR-URL: #36794 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Anto Aravinth <[email protected]>
1 parent b4091ea commit 4601886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/http/headers.js

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

66
const bench = common.createBenchmark(main, {
7-
n: [10, 1000],
7+
n: [10, 600],
88
len: [1, 100],
99
duration: 5
1010
});

0 commit comments

Comments
 (0)