node/benchmark/http
cjihrig ff8db70bc2
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-14 13:23:16 -04: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-14 13:23:16 -04: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