node/benchmark/http
Rich Trott 682d0a92db
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: https://github.com/nodejs/node/issues/31022

PR-URL: https://github.com/nodejs/node/pull/36794
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
2021-05-01 12:12:50 +02:00
..
_chunky_http_client.js benchmark: use let and const instead of var 2020-01-28 19:59:41 -08:00
bench-parser.js benchmark, http: refactor for code consistency 2019-07-30 15:20:08 -07:00
check_invalid_header_char.js benchmark, http: refactor for code consistency 2019-07-30 15:20:08 -07:00
check_is_http_token.js benchmark, http: refactor for code consistency 2019-07-30 15:20:08 -07:00
chunked.js benchmark: add test and all options and improve errors" 2020-03-09 22:35:53 +01:00
client-request-body.js benchmark: use let and const instead of var 2020-01-28 19:59:41 -08:00
cluster.js benchmark: add test and all options and improve errors" 2020-03-09 22:35:53 +01:00
create-clientrequest.js benchmark,test: refactoring 2019-02-18 13:15:28 -05:00
end-vs-write-end.js benchmark: add test and all options and improve errors" 2020-03-09 22:35:53 +01:00
headers.js benchmark: fix http/headers.js with test-double 2021-05-01 12:12:50 +02:00
http_server_for_chunky_client.js benchmark: fixing http_server_for_chunky_client.js 2020-06-30 09:33:41 -07:00
incoming_headers.js benchmark: add test and all options and improve errors" 2020-03-09 22:35:53 +01:00
set-header.js benchmark: add test and all options and improve errors" 2020-03-09 22:35:53 +01:00
set_header.js benchmark: clean up config resolution in multiple benchmarks 2020-02-02 19:45:02 -08:00
simple.js benchmark: add test and all options and improve errors" 2020-03-09 22:35:53 +01:00
upgrade.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00