Title: src: use DictionaryTemplate for node_url_pattern by jasnell · Pull Request #59802 · nodejs/node · GitHub
Open Graph Title: src: use DictionaryTemplate for node_url_pattern by jasnell · Pull Request #59802 · nodejs/node
X Title: src: use DictionaryTemplate for node_url_pattern by jasnell · Pull Request #59802 · nodejs/node
Description: Use the v8::DictionaryTemplate to improve the cases where we repeatedly create objects with a fixed shape but that use an object with a null prototype as the prototype... in other words, it's not the same as __proto__: null... We can cache the dictionary template to avoid recreating it. It's a better API and has better performance... the numbers for URLPattern for instance: url/urlpattern-parse.js n=100000 ... *** 11.59 % ±0.96% ±1.28% ±1.66% url/urlpattern-parse.js n=100000 ... *** 9.28 % ±0.94% ±1.25% ±1.63% url/urlpattern-parse.js n=100000 ... *** 6.97 % ±0.97% ±1.29% ±1.70% url/urlpattern-parse.js n=100000 ... *** 7.56 % ±0.92% ±1.22% ±1.59% url/urlpattern-test.js n=100000 ... *** 2.84 % ±1.50% ±2.00% ±2.61% url/urlpattern-test.js n=100000 ... *** 4.13 % ±2.14% ±2.84% ±3.70% url/urlpattern-test.js n=100000 ... *** 4.76 % ±1.43% ±1.91% ±2.49% url/urlpattern-test.js n=100000 ... *** 4.44 % ±1.26% ±1.68% ±2.19% Also remove some obsolete env_properties while we're at it.
Open Graph Description: Use the v8::DictionaryTemplate to improve the cases where we repeatedly create objects with a fixed shape but that use an object with a null prototype as the prototype... in other words, it's n...
X Description: Use the v8::DictionaryTemplate to improve the cases where we repeatedly create objects with a fixed shape but that use an object with a null prototype as the prototype... in other words, it'...
Opengraph URL: https://github.com/nodejs/node/pull/59802
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:291a21a4-32c9-52ea-c797-fbbc4e09302c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9D62:1A8991:A8AEB0:E969A4:69975656 |
| html-safe-nonce | 99cd77c301f7654195b9bd4a8d19c863dc6af564103b4a52908aa54ec6b2186c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDYyOjFBODk5MTpBOEFFQjA6RTk2OUE0OjY5OTc1NjU2IiwidmlzaXRvcl9pZCI6IjYzMzA2Njg0ODE5NTMzNTUzNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 55187b809866f30fbb8e443e42beaaeda40a738b42f6a4c7346dc66c39f9e67e |
| hovercard-subject-tag | pull_request:2806881661 |
| 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/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0 |
| twitter:image | https://avatars.githubusercontent.com/u/439929?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/439929?s=400&v=4 |
| og:image:alt | Use the v8::DictionaryTemplate to improve the cases where we repeatedly create objects with a fixed shape but that use an object with a null prototype as the prototype... in other words, it's n... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c2f6b9675e9141deef3eda21e5cb896d461bd4d25aeaeeba804502ef0e8d01f2 |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06ceed63f0d4941788d6c52a00d38ad77b6eaf89 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width