0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/benchmark/http
Anatoli Papirovski 602ffd6986
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-04-27 20:31:25 +02: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 benchmark: (http) use destructuring 2018-01-23 01:29:28 +01:00
chunked.js benchmark: (http) use destructuring 2018-01-23 01:29:28 +01:00
client-request-body.js benchmark: (http) use destructuring 2018-01-23 01:29:28 +01:00
cluster.js test: fix long-running http benchmarks 2018-04-22 11:06:36 +02:00
create-clientrequest.js benchmark: (http) use destructuring 2018-01-23 01:29:28 +01:00
end-vs-write-end.js benchmark: (http) use destructuring 2018-01-23 01:29:28 +01:00
headers.js http: refactor outgoing headers processing 2018-04-27 20:31:25 +02: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 http: switch on string values 2018-01-26 16:24:50 -05:00
set-header.js benchmark: cut down http benchmark run time 2018-02-01 11:43:30 +01:00
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