René's URL Explorer Experiment


Title: Cache parsed path mapping patterns by amcasey · Pull Request #44078 · microsoft/TypeScript · GitHub

Open Graph Title: Cache parsed path mapping patterns by amcasey · Pull Request #44078 · microsoft/TypeScript

X Title: Cache parsed path mapping patterns by amcasey · Pull Request #44078 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Cache parsed path mapping patterns by amcasey · Pull Request #44078 · microsoft/TypeScript

Open Graph Description: If a project has many of them (e.g. 1800), parsing the patterns repeatedly can take up a lot of time. Specifically, getOwnKeys and hasZeroOrOneAsteriskCharacter were showing up as self-time hotspots.

X Description: If a project has many of them (e.g. 1800), parsing the patterns repeatedly can take up a lot of time. Specifically, getOwnKeys and hasZeroOrOneAsteriskCharacter were showing up as self-time hotspots.

Opengraph URL: https://github.com/microsoft/TypeScript/pull/44078

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:bf2cffcc-5110-aff4-16c7-75e308477783
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD70:E0ADF:E2F18A:11F28BB:6B01F001
html-safe-nonce81aa56a3c15a5897821966a39bfe382ee03f9bcaef1beb01c3cc4d1f06ebca8a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDcwOkUwQURGOkUyRjE4QToxMUYyOEJCOjZCMDFGMDAxIiwidmlzaXRvcl9pZCI6IjE0Njc0MzI4MTMyMDc4NzU1ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5a8790fff7a0046e20ced3d54b65dd8a2396ecc1f015477882376b2d235dd4ff
hovercard-subject-tagpull_request:644124559
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/44078/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/73e475ec01b915ea0665572e1f8efa779a943feacbdcb7866619255562a944de/microsoft/TypeScript/pull/44078
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/73e475ec01b915ea0665572e1f8efa779a943feacbdcb7866619255562a944de/microsoft/TypeScript/pull/44078
og:image:altIf a project has many of them (e.g. 1800), parsing the patterns repeatedly can take up a lot of time. Specifically, getOwnKeys and hasZeroOrOneAsteriskCharacter were showing up as self-time hotspots.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameamcasey
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/44078#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F44078
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F44078
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/44078
Reloadhttps://github.com/microsoft/TypeScript/pull/44078
Reloadhttps://github.com/microsoft/TypeScript/pull/44078
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Andrew Casey (amcasey)https://github.com/amcasey
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
amcasey:PathPatternshttps://github.com/amcasey/TypeScript/tree/PathPatterns
Conversationhttps://github.com/microsoft/TypeScript/pull/44078
Commits4 (4)https://github.com/microsoft/TypeScript/pull/44078/commits
Checkshttps://github.com/microsoft/TypeScript/pull/44078/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/44078/files
Cache parsed path mapping patternshttps://github.com/microsoft/TypeScript/pull/44078#top
Andrew Casey (amcasey)https://github.com/amcasey
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
amcasey:PathPatternshttps://github.com/amcasey/TypeScript/tree/PathPatterns
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
May 13, 2021https://github.com/microsoft/TypeScript/pull/44078#issue-891223764
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Andrew Casey (amcasey)https://github.com/amcasey
May 13, 2021https://github.com/microsoft/TypeScript/pull/44078#event-4743007177
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
May 13, 2021https://github.com/microsoft/TypeScript/pull/44078#event-4743007220
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
May 13, 2021 https://github.com/microsoft/TypeScript/pull/44078#pullrequestreview-659130748
View reviewed changes https://github.com/microsoft/TypeScript/pull/44078/files
src/compiler/moduleNameResolver.tshttps://github.com/microsoft/TypeScript/pull/44078/files#diff-0dea9ce163bfdd2ae3e20ed8b975a3b42b930794db19b2e7dfebf9a4bf958f57
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
May 14, 2021 https://github.com/microsoft/TypeScript/pull/44078#pullrequestreview-660225920
View reviewed changes https://github.com/microsoft/TypeScript/pull/44078/files
src/compiler/moduleNameResolver.tshttps://github.com/microsoft/TypeScript/pull/44078/files#diff-0dea9ce163bfdd2ae3e20ed8b975a3b42b930794db19b2e7dfebf9a4bf958f57
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
May 19, 2021 23:22https://github.com/microsoft/TypeScript/pull/44078#event-4769718402
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
May 21, 2021 https://github.com/microsoft/TypeScript/pull/44078#pullrequestreview-663862674
View reviewed changes https://github.com/microsoft/TypeScript/pull/44078/files
src/compiler/moduleNameResolver.tshttps://github.com/microsoft/TypeScript/pull/44078/files#diff-0dea9ce163bfdd2ae3e20ed8b975a3b42b930794db19b2e7dfebf9a4bf958f57
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
src/compiler/moduleNameResolver.tshttps://github.com/microsoft/TypeScript/pull/44078/files#diff-0dea9ce163bfdd2ae3e20ed8b975a3b42b930794db19b2e7dfebf9a4bf958f57
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
src/compiler/utilities.tshttps://github.com/microsoft/TypeScript/pull/44078/files#diff-1516c8349f7a625a2e4a2aa60f6bbe84e4b1a499128e8705d3087d893e01d367
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
May 21, 2021https://github.com/microsoft/TypeScript/pull/44078#discussion_r637165398
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
Andrew Casey (amcasey)https://github.com/amcasey
May 21, 2021https://github.com/microsoft/TypeScript/pull/44078#discussion_r637194836
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
Andrew Casey (amcasey)https://github.com/amcasey
May 25, 2021https://github.com/microsoft/TypeScript/pull/44078#discussion_r639262538
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
Andrew Casey (amcasey)https://github.com/amcasey
May 25, 2021 15:44https://github.com/microsoft/TypeScript/pull/44078#commits-pushed-b945b9b
https://github.com/amcasey
Cache parsed path mapping patternshttps://github.com/microsoft/TypeScript/pull/44078/commits/b945b9b04d7fed79f7f95c44e949a9e00d3af49c
b945b9bhttps://github.com/microsoft/TypeScript/pull/44078/commits/b945b9b04d7fed79f7f95c44e949a9e00d3af49c
https://github.com/amcasey
Move cache to ConfigFileSpecshttps://github.com/microsoft/TypeScript/pull/44078/commits/00b9ccd6a3c214435c9cf0c9dadafdd2d93b14e1
00b9ccdhttps://github.com/microsoft/TypeScript/pull/44078/commits/00b9ccd6a3c214435c9cf0c9dadafdd2d93b14e1
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
force-pushedhttps://github.com/microsoft/TypeScript/compare/8a89af5b378309fe207527dbac1d263d93a66360..00b9ccd6a3c214435c9cf0c9dadafdd2d93b14e1
8a89af5https://github.com/microsoft/TypeScript/commit/8a89af5b378309fe207527dbac1d263d93a66360
00b9ccdhttps://github.com/microsoft/TypeScript/commit/00b9ccd6a3c214435c9cf0c9dadafdd2d93b14e1
Compare https://github.com/microsoft/TypeScript/compare/8a89af5b378309fe207527dbac1d263d93a66360..00b9ccd6a3c214435c9cf0c9dadafdd2d93b14e1
May 25, 2021 22:46https://github.com/microsoft/TypeScript/pull/44078#event-4795654805
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
May 25, 2021https://github.com/microsoft/TypeScript/pull/44078#issuecomment-848318209
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
Andrew Casey (amcasey)https://github.com/amcasey
May 25, 2021 15:49https://github.com/microsoft/TypeScript/pull/44078#commits-pushed-ac0c9aa
https://github.com/amcasey
Inline constantshttps://github.com/microsoft/TypeScript/pull/44078/commits/ac0c9aa47c0bb6192cfadb662486643de1bcc3f4
ac0c9aahttps://github.com/microsoft/TypeScript/pull/44078/commits/ac0c9aa47c0bb6192cfadb662486643de1bcc3f4
https://github.com/amcasey
Simplify cache accesshttps://github.com/microsoft/TypeScript/pull/44078/commits/043530377218dd2c816243e0c341a3529771ee52
0435303https://github.com/microsoft/TypeScript/pull/44078/commits/043530377218dd2c816243e0c341a3529771ee52
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
May 25, 2021 22:59https://github.com/microsoft/TypeScript/pull/44078#event-4795692570
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
May 25, 2021 https://github.com/microsoft/TypeScript/pull/44078#ref-issue-901499285
Design Meeting Notes, 5/19/2021 #44256 https://github.com/microsoft/TypeScript/issues/44256
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
May 26, 2021https://github.com/microsoft/TypeScript/pull/44078#issuecomment-848371020
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
May 26, 2021https://github.com/microsoft/TypeScript/pull/44078#issuecomment-848371036
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
Andrew Casey (@amcasey)https://github.com/amcasey
0435303https://github.com/microsoft/TypeScript/commit/043530377218dd2c816243e0c341a3529771ee52
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=103950
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
May 26, 2021https://github.com/microsoft/TypeScript/pull/44078#issuecomment-848376652
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
Andrew Casey (@amcasey)https://github.com/amcasey
an installable tgzhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/103950/artifacts?artifactName=tgz&fileId=5B3FB4B8589F2D1B2AB57D830882879C2CC6FD618829A38998245D6627FCD24802&fileName=/typescript-4.4.0-insiders.20210526.tgz
for this buildhttps://www.staging-typescript.org/play?ts=4.4.0-pr-44078-3
npmhttps://www.npmjs.com/package/@typescript-deploys/pr-build/v/4.4.0-pr-44078-3
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
May 26, 2021 https://github.com/microsoft/TypeScript/pull/44078#pullrequestreview-668512642
View reviewed changes https://github.com/microsoft/TypeScript/pull/44078/files/043530377218dd2c816243e0c341a3529771ee52
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
3ffa245https://github.com/microsoft/TypeScript/commit/3ffa245f07c4472ed3015fcb59ea0d2d73432102
May 26, 2021https://github.com/microsoft/TypeScript/pull/44078#event-4800653807
https://github.com/amcasey
Andrew Casey (amcasey)https://github.com/amcasey
May 26, 2021 16:40https://github.com/microsoft/TypeScript/pull/44078#event-4800654174
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/44078#event-20417403949
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F44078
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat) https://github.com/sheetalkamat
https://github.com/microsoft/TypeScript/pull/44078/files/043530377218dd2c816243e0c341a3529771ee52
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
https://github.com/amcasey
Andrew Casey (amcasey) https://github.com/amcasey
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/44078
https://github.com/amcasey
https://github.com/typescript-bot
https://github.com/sheetalkamat
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.