Skip to content

benchmark: fix http/headers.js with test-double

Rodrigo Muino Tomonari requested to merge github/fork/Trott/fix-bench into master

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: https://github.com/nodejs/node/issues/31022

Merge request reports

Loading