Title: http: implement slab allocation for HTTP header parsing by mertcanaltin · Pull Request #61375 · nodejs/node · GitHub
Open Graph Title: http: implement slab allocation for HTTP header parsing by mertcanaltin · Pull Request #61375 · nodejs/node
X Title: http: implement slab allocation for HTTP header parsing by mertcanaltin · Pull Request #61375 · nodejs/node
Description: fix: // TODO(bnoordhuis) Use slab allocation, O(n) allocs is bad. before: http/bench-parser-fragmented.js n=100000 len=8 frags=2: 951,629.0928924936 http/bench-parser-fragmented.js n=100000 len=16 frags=2: 677,295.1203426437 http/bench-parser-fragmented.js n=100000 len=8 frags=4: 759,881.7857984888 http/bench-parser-fragmented.js n=100000 len=16 frags=4: 509,278.74034996366 http/bench-parser-fragmented.js n=100000 len=8 frags=8: 680,706.0381048893 http/bench-parser-fragmented.js n=100000 len=16 frags=8: 466,898.1840452692 after: 52% faster HTTP header parsing http/bench-parser-fragmented.js n=100000 len=8 frags=2: 1,231,534.676937666 http/bench-parser-fragmented.js n=100000 len=16 frags=2: 890,580.6675901335 http/bench-parser-fragmented.js n=100000 len=8 frags=4: 1,117,723.8010822271 http/bench-parser-fragmented.js n=100000 len=16 frags=4: 789,398.1180369954 http/bench-parser-fragmented.js n=100000 len=8 frags=8: 869,642.0937523921 http/bench-parser-fragmented.js n=100000 len=16 frags=8: 711,293.8345939534
Open Graph Description: fix: // TODO(bnoordhuis) Use slab allocation, O(n) allocs is bad. before: http/bench-parser-fragmented.js n=100000 len=8 frags=2: 951,629.0928924936 http/bench-parser-fragmented.js n=100000 len=16 ...
X Description: fix: // TODO(bnoordhuis) Use slab allocation, O(n) allocs is bad. before: http/bench-parser-fragmented.js n=100000 len=8 frags=2: 951,629.0928924936 http/bench-parser-fragmented.js n=100000 len=16 ...
Opengraph URL: https://github.com/nodejs/node/pull/61375
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fe9d413e-9d14-bb40-a9d1-71bd897f2e09 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC4E:D21CA:17EA80B:218CB18:6A4CBC02 |
| html-safe-nonce | b0f8ab4c3b9a774449a0361b4a3b61a2700f6729f96b68fc6a90861eab4184b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzRFOkQyMUNBOjE3RUE4MEI6MjE4Q0IxODo2QTRDQkMwMiIsInZpc2l0b3JfaWQiOiI0NjMyMTAzMDE5MTMwNjk4NzU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bcb1a4e66c750abc74acc984733215e3961cb7d6b142fcbe4230950ce435a467 |
| hovercard-subject-tag | pull_request:3171085000 |
| 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/61375/files |
| twitter:image | https://avatars.githubusercontent.com/u/37827216?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/37827216?s=400&v=4 |
| og:image:alt | fix: // TODO(bnoordhuis) Use slab allocation, O(n) allocs is bad. before: http/bench-parser-fragmented.js n=100000 len=8 frags=2: 951,629.0928924936 http/bench-parser-fragmented.js n=100000 len=16 ... |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width