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/:range(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7d0d6c0e-7aa0-691b-d0fc-d4104d47920d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C864:1B7ECE:3648F69:485FC0C:6A655ABC |
| html-safe-nonce | 02eb2e3312597a63f9260ed3b37ddaa528b42d2e555934e8b8f0b4bd56ef4cc4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODY0OjFCN0VDRTozNjQ4RjY5OjQ4NUZDMEM6NkE2NTVBQkMiLCJ2aXNpdG9yX2lkIjoiODEwMDg1MjM4MTYxMzY1NjkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | aba5b6783f18aed6d7d6331135a6ea8f39f98c1e6fe3796cd7e1c69a0093f85f |
| 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/8846c7a152262525027053b34026446e678817c3 |
| 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 | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| 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 | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width