René's URL Explorer Experiment


Title: RichParser: Remove additional node-traversal pass by staabm · Pull Request #6612 · phpstan/phpstan-src · GitHub

Open Graph Title: RichParser: Remove additional node-traversal pass by staabm · Pull Request #6612 · phpstan/phpstan-src

X Title: RichParser: Remove additional node-traversal pass by staabm · Pull Request #6612 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - RichParser: Remove additional node-traversal pass by staabm · Pull Request #6612 · phpstan/phpstan-src

Open Graph Description: node-traversal is the slowest part in RichParser. reduce some traversal, which also simplifies the implementation. running hyperfine on it does not yield meaningful improvements/regressions though.

X Description: node-traversal is the slowest part in RichParser. reduce some traversal, which also simplifies the implementation. running hyperfine on it does not yield meaningful improvements/regressions though.

Opengraph URL: https://github.com/phpstan/phpstan-src/pull/6612

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:ea757b01-8563-df86-4daa-20bbdd833af9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA4A:2564D8:C6DF53:108510E:6B00F506
html-safe-nonce05878c0c2e2b7339643049bba8ef5245f5a1828eaeb12444d0a2a94c7bc50d9a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTRBOjI1NjREODpDNkRGNTM6MTA4NTEwRTo2QjAwRjUwNiIsInZpc2l0b3JfaWQiOiI1MTIxOTM3NzIxMzU0NDE3NDE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace334e13cb29b33e37a44fde6df0c31e334a6cbe14f437da4998565e14c4d1d75
hovercard-subject-tagpull_request:4653017217
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/phpstan/phpstan-src/6612/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e528886c8fdc26683d14ff7a7bae9a8b40b44ba22347127570717dcbb1d8ec5e/phpstan/phpstan-src/pull/6612
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e528886c8fdc26683d14ff7a7bae9a8b40b44ba22347127570717dcbb1d8ec5e/phpstan/phpstan-src/pull/6612
og:image:altnode-traversal is the slowest part in RichParser. reduce some traversal, which also simplifies the implementation. running hyperfine on it does not yield meaningful improvements/regressions though.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestaabm
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id219334214
octolytics-dimension-repository_nwophpstan/phpstan-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id219334214
octolytics-dimension-repository_network_root_nwophpstan/phpstan-src
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/6612#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6612
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%2Fphpstan%2Fphpstan-src%2Fpull%2F6612
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=phpstan%2Fphpstan-src
Reloadhttps://github.com/phpstan/phpstan-src/pull/6612
Reloadhttps://github.com/phpstan/phpstan-src/pull/6612
Reloadhttps://github.com/phpstan/phpstan-src/pull/6612
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests186 (186)https://github.com/phpstan/phpstan-src/pulls
Actionshttps://github.com/phpstan/phpstan-src/actions
Security and qualityhttps://github.com/phpstan/phpstan-src/security
Insightshttps://github.com/phpstan/phpstan-src/insights
https://github.com/phpstan/phpstan-src
staabmhttps://github.com/staabm
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
staabm:less-traversalhttps://github.com/staabm/phpstan-src/tree/less-traversal
Conversationhttps://github.com/phpstan/phpstan-src/pull/6612
Commits4 (4)https://github.com/phpstan/phpstan-src/pull/6612/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/6612/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/6612/files
RichParser: Remove additional node-traversal passhttps://github.com/phpstan/phpstan-src/pull/6612#top
staabmhttps://github.com/staabm
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
staabm:less-traversalhttps://github.com/staabm/phpstan-src/tree/less-traversal
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6612#issue-5601602673
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://private-user-images.githubusercontent.com/120441/659658176-5a104d81-3e08-4437-a990-51e5545d9084.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyMjUxMzksIm5iZiI6MTc5NTIyNDgzOSwicGF0aCI6Ii8xMjA0NDEvNjU5NjU4MTc2LTVhMTA0ZDgxLTNlMDgtNDQzNy1hOTkwLTUxZTU1NDVkOTA4NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyMVQwMTMzNTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZDdlODU4YWY0Yjg5MWY2OGRlMjIyMmJlOGU2N2YzNDUwZmEwMTg4OGExMDQzNzUzN2U0NDA2ZDg4MWI3MTBmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.YHxST5LkiUMD4DYVNRNsn-JunPOzfM41XnQ9-2y_N2g
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6612#issuecomment-5854794669
@SanderMullerhttps://github.com/SanderMuller
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://github.com/staabm
staabmhttps://github.com/staabm
September 27, 2026 09:53https://github.com/phpstan/phpstan-src/pull/6612#event-31926098452
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6612#issuecomment-5854825903
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://github.com/SanderMuller
SanderMullerhttps://github.com/SanderMuller
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6612#issuecomment-5855356849
#6611https://github.com/phpstan/phpstan-src/pull/6611
#6608https://github.com/phpstan/phpstan-src/pull/6608
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6612#issuecomment-5855365463
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/82a6978e950cb693ca51c86ea5312335e04329c7..53df5b72eeed4ca6a57ffd67a152b144c1ec79c9
82a6978https://github.com/phpstan/phpstan-src/commit/82a6978e950cb693ca51c86ea5312335e04329c7
53df5b7https://github.com/phpstan/phpstan-src/commit/53df5b72eeed4ca6a57ffd67a152b144c1ec79c9
Compare https://github.com/phpstan/phpstan-src/compare/82a6978e950cb693ca51c86ea5312335e04329c7..53df5b72eeed4ca6a57ffd67a152b144c1ec79c9
September 27, 2026 11:32https://github.com/phpstan/phpstan-src/pull/6612#event-31928774632
https://github.com/SanderMuller
SanderMullerhttps://github.com/SanderMuller
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6612#issuecomment-5855621833
#6609https://github.com/phpstan/phpstan-src/pull/6609
#6604https://github.com/phpstan/phpstan-src/pull/6604
#6611https://github.com/phpstan/phpstan-src/pull/6611
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://github.com/SanderMuller
SanderMullerhttps://github.com/SanderMuller
Sep 27, 2026 https://github.com/phpstan/phpstan-src/pull/6612#ref-pullrequest-5601935995
Keep the narrowed bound of a template type that TemplateTypeHelper::resolveTemplateTypes() maps to itself #6613 https://github.com/phpstan/phpstan-src/pull/6613
staabmhttps://github.com/staabm
September 27, 2026 17:49https://github.com/phpstan/phpstan-src/pull/6612#commits-pushed-2fa85d3
https://github.com/staabm
RichParser: Remove additional node-traversal passhttps://github.com/phpstan/phpstan-src/pull/6612/commits/2fa85d3161ead109d6f522140c416639c994e126
2fa85d3https://github.com/phpstan/phpstan-src/pull/6612/commits/2fa85d3161ead109d6f522140c416639c994e126
https://github.com/staabm
run ReversePipeTransformerVisitor only when requiredhttps://github.com/phpstan/phpstan-src/pull/6612/commits/96edd60e2fc247937d4029b2f4787fc1e5115c60
96edd60https://github.com/phpstan/phpstan-src/pull/6612/commits/96edd60e2fc247937d4029b2f4787fc1e5115c60
https://github.com/staabm
Create pr-6612-pipe.phphttps://github.com/phpstan/phpstan-src/pull/6612/commits/b7edf7a1a94a115d805f508b9d64269bf2728aa7
b7edf7ahttps://github.com/phpstan/phpstan-src/pull/6612/commits/b7edf7a1a94a115d805f508b9d64269bf2728aa7
https://github.com/staabm
detect pipeshttps://github.com/phpstan/phpstan-src/pull/6612/commits/b9411de586d5bca61f7fab320550f745c1ac7b65
b9411dehttps://github.com/phpstan/phpstan-src/pull/6612/commits/b9411de586d5bca61f7fab320550f745c1ac7b65
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/a53c8570f347ad32da32122910b0171d25527d0e..b9411de586d5bca61f7fab320550f745c1ac7b65
a53c857https://github.com/phpstan/phpstan-src/commit/a53c8570f347ad32da32122910b0171d25527d0e
b9411dehttps://github.com/phpstan/phpstan-src/commit/b9411de586d5bca61f7fab320550f745c1ac7b65
Compare https://github.com/phpstan/phpstan-src/compare/a53c8570f347ad32da32122910b0171d25527d0e..b9411de586d5bca61f7fab320550f745c1ac7b65
September 27, 2026 15:49https://github.com/phpstan/phpstan-src/pull/6612#event-31937077624
https://github.com/staabm
staabmhttps://github.com/staabm
Sep 27, 2026https://github.com/phpstan/phpstan-src/pull/6612#issuecomment-5857713238
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://github.com/staabm
staabmhttps://github.com/staabm
Oct 12, 2026https://github.com/phpstan/phpstan-src/pull/6612#event-33037130692
https://github.com/staabm
staabmhttps://github.com/staabm
October 12, 2026 10:05https://github.com/phpstan/phpstan-src/pull/6612#event-33037140611
https://github.co/hiddenchars
https://github.com/phpstan/phpstan-src/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6612
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6612
https://github.com/staabm
https://github.com/phpstan-bot
https://github.com/SanderMuller
https://github.com/ondrejmirtes
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.