node/benchmark/http
cjihrig 2ca7aebefc
benchmark: add common.binding()
Recently, process.binding() was replaced with internalBinding().
However, internalBinding() is not available on older builds of
Node, which are often used for benchmarking purposes. This commit
adds a common.binding() to the benchmarks to work around the
issue. Hopefully, this can be removed in the not too distant
future.

PR-URL: https://github.com/nodejs/node/pull/23460
Fixes: https://github.com/nodejs/node/issues/23436
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2018-10-17 11:29:53 -07:00
..
_chunky_http_client.js tools: enable eslint strict key-spacing 2018-02-22 14:56:12 +00:00
bench-parser.js benchmark: add common.binding() 2018-10-17 11:29:53 -07: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-22 11:06:36 +02:00
create-clientrequest.js
end-vs-write-end.js
headers.js http: refactor outgoing headers processing 2018-04-27 20:31:25 +02:00
http_server_for_chunky_client.js
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