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> |
||
|---|---|---|
| .. | ||
| _chunky_http_client.js | ||
| bench-parser.js | ||
| check_invalid_header_char.js | ||
| check_is_http_token.js | ||
| chunked.js | ||
| client-request-body.js | ||
| cluster.js | ||
| create-clientrequest.js | ||
| end-vs-write-end.js | ||
| headers.js | ||
| http_server_for_chunky_client.js | ||
| set-header.js | ||
| set_header.js | ||
| simple.js | ||
| upgrade.js | ||