René's URL Explorer Experiment


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&#39...

Opengraph URL: https://github.com/nodejs/node/pull/59802

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:291a21a4-32c9-52ea-c797-fbbc4e09302c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9D62:1A8991:A8AEB0:E969A4:69975656
html-safe-nonce99cd77c301f7654195b9bd4a8d19c863dc6af564103b4a52908aa54ec6b2186c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDYyOjFBODk5MTpBOEFFQjA6RTk2OUE0OjY5OTc1NjU2IiwidmlzaXRvcl9pZCI6IjYzMzA2Njg0ODE5NTMzNTUzNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac55187b809866f30fbb8e443e42beaaeda40a738b42f6a4c7346dc66c39f9e67e
hovercard-subject-tagpull_request:2806881661
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
twitter:imagehttps://avatars.githubusercontent.com/u/439929?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/439929?s=400&v=4
og:image:altUse 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec2f6b9675e9141deef3eda21e5cb896d461bd4d25aeaeeba804502ef0e8d01f2
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06ceed63f0d4941788d6c52a00d38ad77b6eaf89
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F59802%2Fcommits%2F795d80bb3f6b32e374fcc40b713f9e248442ddc0
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F59802%2Fcommits%2F795d80bb3f6b32e374fcc40b713f9e248442ddc0
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
Reloadhttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
Reloadhttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.8k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 116k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.8k https://github.com/nodejs/node/issues
Pull requests 713 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
jasnell:jasnell/use-dictionarytemplatehttps://github.com/jasnell/node/tree/jasnell/use-dictionarytemplate
Conversation 32 https://github.com/nodejs/node/pull/59802
Commits 7 https://github.com/nodejs/node/pull/59802/commits
Checks 32 https://github.com/nodejs/node/pull/59802/checks
Files changed https://github.com/nodejs/node/pull/59802/files
Please reload this pagehttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
src: use DictionaryTemplate for node_url_pattern https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#top
Show all changes 7 commits https://github.com/nodejs/node/pull/59802/files
8b738c1 src: use DictionaryTemplate for node_url_pattern jasnell Sep 8, 2025 https://github.com/nodejs/node/pull/59802/commits/8b738c18d5763fab8878e97a15c60374dcb81c1d
22c57aa src: use DictionaryTemplate for worker cpuUsage and getHeapStatistics jasnell Sep 8, 2025 https://github.com/nodejs/node/pull/59802/commits/22c57aaba7468880c26e5a829e68ea9fbc238ebe
795d80b src: update v8 to use DictionaryTemplate caching jasnell Sep 8, 2025 https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
58009a7 src: update CallSite to use DictionaryTemplate jasnell Sep 8, 2025 https://github.com/nodejs/node/pull/59802/commits/58009a7b69c1175fb515ac732c7884fbdee3235b
9f5d58f src: update sqlite to use DictionaryTemplate jasnell Sep 8, 2025 https://github.com/nodejs/node/pull/59802/commits/9f5d58f016a01ca3ef1ec26d4e29d8d792df4616
8388688 src: remove obsolete/unused env env_properties jasnell Sep 8, 2025 https://github.com/nodejs/node/pull/59802/commits/83886886ab655ce595b3d135e6c770041b961903
384fad8 src: fixup lint issues after dictionary template change jasnell Sep 8, 2025 https://github.com/nodejs/node/pull/59802/commits/384fad86a7940befb6314eb98c97733473ef1555
Clear filters https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
Please reload this pagehttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
Please reload this pagehttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
env_properties.h https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
node_v8.cc https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
Prev https://github.com/nodejs/node/pull/59802/commits/22c57aaba7468880c26e5a829e68ea9fbc238ebe
Next https://github.com/nodejs/node/pull/59802/commits/58009a7b69c1175fb515ac732c7884fbdee3235b
Please reload this pagehttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
https://github.com/jasnell
jasnellhttps://github.com/nodejs/node/commits?author=jasnell
src/env_properties.hhttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
View file https://github.com/jasnell/node/blob/795d80bb3f6b32e374fcc40b713f9e248442ddc0/src/env_properties.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/59802/commits/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-3c4caf9223a0c3a6efbb87207e13f002d4209a6c4db5d9c113ac5d7112ef4474
src/node_v8.cchttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
View file https://github.com/jasnell/node/blob/795d80bb3f6b32e374fcc40b713f9e248442ddc0/src/node_v8.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/59802/commits/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
Please reload this pagehttps://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
https://github.com/nodejs/node/pull/59802/commits/795d80bb3f6b32e374fcc40b713f9e248442ddc0#diff-b31178bc5d9c07672e946e9dc0b52d163fa8e24220f6f4d2157eac2578c7041b
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.