Title: Exposing NodeJS Benchmarking functionality as a module · Issue #45037 · nodejs/node · GitHub
Open Graph Title: Exposing NodeJS Benchmarking functionality as a module · Issue #45037 · nodejs/node
X Title: Exposing NodeJS Benchmarking functionality as a module · Issue #45037 · nodejs/node
Description: What is the problem this feature will solve? This feature introduces a new node:benchmark module (it exposes the internal benchmarking functionality that already exists in node core bencharmk, which serves the purpose of measuring the ti...
Open Graph Description: What is the problem this feature will solve? This feature introduces a new node:benchmark module (it exposes the internal benchmarking functionality that already exists in node core bencharmk, whic...
X Description: What is the problem this feature will solve? This feature introduces a new node:benchmark module (it exposes the internal benchmarking functionality that already exists in node core bencharmk, whic...
Opengraph URL: https://github.com/nodejs/node/issues/45037
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exposing NodeJS Benchmarking functionality as a module","articleBody":"### What is the problem this feature will solve?\r\n\r\nThis feature introduces a new `node:benchmark` module (it exposes the internal benchmarking functionality that already exists in node core [bencharmk](https://github.com/nodejs/node/blob/main/benchmark/common.js), which serves the purpose of measuring the time taken for an operation to complete. \r\n\r\nThe module will also support benchmarking HTTP(s) requests using either autocannon, h2load or wrk [http-bencharmks](https://github.com/nodejs/node/blob/main/benchmark/_http-benchmarkers.js).\r\n\r\nThe module will also support and provide a user/developer friendly interface to compare benchmark results across two nodejs versions. [compare-benchmark](https://github.com/nodejs/node/blob/main/benchmark/compare.js)\r\n\r\n\r\n\r\n### What is the feature you are proposing to solve the problem?\r\n\r\nThe `node:benchmark` module gives a more reliable approach towards benchmarking a set of operations (The existing solution in node core might be also improved on to provide more functionality). \r\n\r\nThere is currently a [draft-pr](https://github.com/nodejs/node/pull/44974) on this (with few reviews on this).\r\n### What alternatives have you considered?\r\n\r\n_No response_","author":{"url":"https://github.com/zombieleet","@type":"Person","name":"zombieleet"},"datePublished":"2022-10-17T11:14:36Z","url":"https://github.com/nodejs/node/issues/45037"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:99c2787d-0223-b01e-787a-7351a64e53eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE88:2AB5E3:62203F:7F8FCE:6AED2B8F |
| html-safe-nonce | 40295581e92db88f5a2fbcae3fc3cb5f7704580d722741f699253a97d65ce0ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTg4OjJBQjVFMzo2MjIwM0Y6N0Y4RkNFOjZBRUQyQjhGIiwidmlzaXRvcl9pZCI6IjkxNzA5NjQ1MjEyODUzOTczOTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4e92363e289d2e993c22ed55d87257a302abbacea319ef8f510ba7a7ddb369e5 |
| hovercard-subject-tag | issue:1411388324 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/45037/issue_layout |
| twitter:image | https://opengraph.githubassets.com/436049381266d6ce780033115d396e7ae0ec25532656655c33284a313bfe367a/nodejs/node/issues/45037 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/436049381266d6ce780033115d396e7ae0ec25532656655c33284a313bfe367a/nodejs/node/issues/45037 |
| og:image:alt | What is the problem this feature will solve? This feature introduces a new node:benchmark module (it exposes the internal benchmarking functionality that already exists in node core bencharmk, whic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zombieleet |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 98b41fa4b5635ceb45a4c54320fced73817ff290 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width