node/benchmark/http
Anatoli Papirovski f0b2b2605a
http: refactor outgoing headers processing
Use a shared function, for..in instead of Object.keys, do less work in
`setHeader` and instead defer some of it until later, and other minor
changes to improve clarity, as well as a slight boost in performance.

PR-URL: https://github.com/nodejs/node/pull/20250
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-05-04 11:54:32 -04:00
..
_chunky_http_client.js tools: enable eslint strict key-spacing 2018-02-22 14:56:12 +00:00
bench-parser.js benchmark: (http(2)) refactor 2018-02-01 10:49:03 +01:00
check_invalid_header_char.js http: simplify checkInvalidHeaderChar 2018-02-16 19:27:28 +01:00
check_is_http_token.js
chunked.js
client-request-body.js
cluster.js test: fix long-running http benchmarks 2018-04-23 07:11:17 -07:00
create-clientrequest.js
end-vs-write-end.js
headers.js http: refactor outgoing headers processing 2018-05-04 11:54:32 -04:00
http_server_for_chunky_client.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
set-header.js benchmark: cut down http benchmark run time 2018-02-01 11:43:30 +01:00
set_header.js
simple.js benchmark: cut down http benchmark run time 2018-02-01 11:43:30 +01:00
upgrade.js benchmark: (http(2)) refactor 2018-02-01 10:49:03 +01:00