Skip to content

Commit 1e35d58

Browse files
committed
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 9ac4047 commit 1e35d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/http/headers.js

Lines changed: 1 addition & 1 deletion
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)