Title: src: elide heap allocation in structured clone implementation by addaleax · Pull Request #61703 · nodejs/node · GitHub
Open Graph Title: src: elide heap allocation in structured clone implementation by addaleax · Pull Request #61703 · nodejs/node
X Title: src: elide heap allocation in structured clone implementation by addaleax · Pull Request #61703 · nodejs/node
Description: Small perf improvement: $ node benchmark/compare.js --runs 100 \ > --old ./node-0da120f879 --new ./node \ > --filter structured-clone misc > comparison.csv && \ > npx node-benchmark-compare comparison.csv [00:02:15|% 100| 1/1 files | 200/200 runs | 3/3 configs]: Done confidence improvement accuracy (*) (**) (***) misc/structured-clone.js n=10000 type='arraybuffer' ** 1.81 % ±1.28% ±1.68% ±2.16% misc/structured-clone.js n=10000 type='object' * 0.62 % ±0.55% ±0.73% ±0.93% misc/structured-clone.js n=10000 type='string' *** 8.30 % ±1.46% ±1.92% ±2.47% Be aware that when doing many comparisons the risk of a false-positive result increases. In this case, there are 3 comparisons, you can thus expect the following amount of false-positive results: 0.15 false positives, when considering a 5% risk acceptance (*, **, ***), 0.03 false positives, when considering a 1% risk acceptance (**, ***), 0.00 false positives, when considering a 0.1% risk acceptance (***)
Open Graph Description: Small perf improvement: $ node benchmark/compare.js --runs 100 \ > --old ./node-0da120f879 --new ./node \ > --filter structured-clone misc > comparison.csv && \ > npx node...
X Description: Small perf improvement: $ node benchmark/compare.js --runs 100 \ > --old ./node-0da120f879 --new ./node \ > --filter structured-clone misc > comparison.csv &&am...
Opengraph URL: https://github.com/nodejs/node/pull/61703
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b6aa6553-540f-bcac-16d7-d4c5f4dde929 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9AAA:37764A:99D9B7:CD6B7A:6A4C4725 |
| html-safe-nonce | ac67c2c4c65a4af70c2f46958bef4f7fd50476540747d8009f4a3b524cfd9fcf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUFBOjM3NzY0QTo5OUQ5Qjc6Q0Q2QjdBOjZBNEM0NzI1IiwidmlzaXRvcl9pZCI6IjE4NDc2NDI5Mzc2NDg0OTg0NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 45e2052d40ac6a20a2c2977a6115c5b7bf29f6d31aad6fc0d0a699a8b5f1f46a |
| hovercard-subject-tag | pull_request:3253402215 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/nodejs/node/pull/61703/files |
| twitter:image | https://avatars.githubusercontent.com/u/899444?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/899444?s=400&v=4 |
| og:image:alt | Small perf improvement: $ node benchmark/compare.js --runs 100 \ > --old ./node-0da120f879 --new ./node \ > --filter structured-clone misc > comparison.csv && \ > npx node... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3996b3b83990e134be6c099ab9a7f48f140ae80f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width