René's URL Explorer Experiment


Title: Reduce TypeForm recognition slowdown by davidfstr · Pull Request #21585 · python/mypy · GitHub

Open Graph Title: Reduce TypeForm recognition slowdown by davidfstr · Pull Request #21585 · python/mypy

X Title: Reduce TypeForm recognition slowdown by davidfstr · Pull Request #21585 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: References #21262 Summary Enabling TypeForm by default (#21262) regressed mypy's self-check by ~2% on mypyc-compiled builds. Details The regression came entirely from SemanticAnalyzer.try_parse...

X Description: References #21262 Summary Enabling TypeForm by default (#21262) regressed mypy's self-check by ~2% on mypyc-compiled builds. Details The regression came entirely from SemanticAnalyzer.try_p...

Opengraph URL: https://github.com/python/mypy/pull/21585

X: @github

direct link

Domain: github.com

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:ad1cbb66-4046-0507-71fe-c899390982c1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE6DA:35BB07:1A6A:1FFC:6A4C1C0A
html-safe-nonce8e7c77578ff5ca7c58ffcd4282bf2be0f7d2b9ef722c6189eb75be3d77bae116
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkRBOjM1QkIwNzoxQTZBOjFGRkM6NkE0QzFDMEEiLCJ2aXNpdG9yX2lkIjoiODY0MjQ5MTcwNDg1NzU5ODk4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac024c1fc6bb6e9f628c7a5b69bb4a719d5bc02cec38e058274eafeb7291f63c1a
hovercard-subject-tagpull_request:3797228127
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/python/mypy/21585/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/86c4752d25b1e0da0a1864ba1c797199a35daa00534f7c8ce0133cdb2421997f/python/mypy/pull/21585
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86c4752d25b1e0da0a1864ba1c797199a35daa00534f7c8ce0133cdb2421997f/python/mypy/pull/21585
og:image:altReferences #21262 Summary Enabling TypeForm by default (#21262) regressed mypy's self-check by ~2% on mypyc-compiled builds. Details The regression came entirely from SemanticAnalyzer.try_parse...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedavidfstr
hostnamegithub.com
expected-hostnamegithub.com
None0ccfc9e5281bfe12e38a4d632dc422843e4d5b6757917f7efda2f6567d72fea9
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release17b2c8bc78100cad23202aad2074e77ead6bd1d6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/21585#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21585
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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%2Fpython%2Fmypy%2Fpull%2F21585
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/21585
Reloadhttps://github.com/python/mypy/pull/21585
Reloadhttps://github.com/python/mypy/pull/21585
Please reload this pagehttps://github.com/python/mypy/pull/21585
python https://github.com/python
mypyhttps://github.com/python/mypy
Please reload this pagehttps://github.com/python/mypy/pull/21585
Notifications https://github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.2k https://github.com/login?return_to=%2Fpython%2Fmypy
Star 20.5k https://github.com/login?return_to=%2Fpython%2Fmypy
Code https://github.com/python/mypy
Issues 2.7k https://github.com/python/mypy/issues
Pull requests 460 https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality 0 https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
Code https://github.com/python/mypy
Issues https://github.com/python/mypy/issues
Pull requests https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
davidfstrhttps://github.com/davidfstr
python:masterhttps://github.com/python/mypy/tree/master
davidfstr:f/typeform_complete--take2https://github.com/davidfstr/mypy/tree/f/typeform_complete--take2
Conversationhttps://github.com/python/mypy/pull/21585
Commits8 (8)https://github.com/python/mypy/pull/21585/commits
Checkshttps://github.com/python/mypy/pull/21585/checks
Files changedhttps://github.com/python/mypy/pull/21585/files
Reduce TypeForm recognition slowdownhttps://github.com/python/mypy/pull/21585#top
davidfstrhttps://github.com/davidfstr
python:masterhttps://github.com/python/mypy/tree/master
davidfstr:f/typeform_complete--take2https://github.com/davidfstr/mypy/tree/f/typeform_complete--take2
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 3, 2026https://github.com/python/mypy/pull/21585#issue-4582065086
Please reload this pagehttps://github.com/python/mypy/pull/21585
#21262https://github.com/python/mypy/pull/21262
#21262https://github.com/python/mypy/pull/21262
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 3, 2026 https://github.com/python/mypy/pull/21585#ref-pullrequest-4282953101
TypeForm: Enable by default #21262 https://github.com/python/mypy/pull/21262
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 3, 2026https://github.com/python/mypy/pull/21585#issuecomment-4615018603
@davidfstrhttps://github.com/davidfstr
Please reload this pagehttps://github.com/python/mypy/pull/21585
davidfstrhttps://github.com/davidfstr
June 3, 2026 13:30https://github.com/python/mypy/pull/21585#commits-pushed-cb0ae01
https://github.com/davidfstr
https://github.com/claude
misc/perf_compare.py: Add options/behaviors to reduce measured variancehttps://github.com/python/mypy/pull/21585/commits/cb0ae01dcff8b685e8c7cf8ca3cde9c4ef856f5f
cb0ae01https://github.com/python/mypy/pull/21585/commits/cb0ae01dcff8b685e8c7cf8ca3cde9c4ef856f5f
https://github.com/davidfstr
https://github.com/claude
TypeForm: Add instrumentation of full parses done in semanal.py's try…https://github.com/python/mypy/pull/21585/commits/208f9b62fbda19cf535640ca38a8523bcc3cdf8b
208f9b6https://github.com/python/mypy/pull/21585/commits/208f9b62fbda19cf535640ca38a8523bcc3cdf8b
https://github.com/davidfstr
https://github.com/claude
TypeForm: Add 7 more early-reject filters to semanal.py's try_parse_a…https://github.com/python/mypy/pull/21585/commits/6fba90341f00e24185cab03c5748ba110b171775
6fba903https://github.com/python/mypy/pull/21585/commits/6fba90341f00e24185cab03c5748ba110b171775
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
force-pushedhttps://github.com/python/mypy/compare/a08cc553888079e95cf5aeaa2867788553598b2d..6fba90341f00e24185cab03c5748ba110b171775
a08cc55https://github.com/python/mypy/commit/a08cc553888079e95cf5aeaa2867788553598b2d
6fba903https://github.com/python/mypy/commit/6fba90341f00e24185cab03c5748ba110b171775
Compare https://github.com/python/mypy/compare/a08cc553888079e95cf5aeaa2867788553598b2d..6fba90341f00e24185cab03c5748ba110b171775
June 3, 2026 17:37https://github.com/python/mypy/pull/21585#event-26299181023
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 3, 2026https://github.com/python/mypy/pull/21585#event-26299220768
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 3, 2026https://github.com/python/mypy/pull/21585#issuecomment-4615150052
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21585
https://github.com/davidfstr
SQUISH -> misc/perf_compare.py -- Workaround inability to return Any …https://github.com/python/mypy/pull/21585/commits/978e9b49a300ceeb8df10124d0b4df82976e58ea
978e9b4https://github.com/python/mypy/pull/21585/commits/978e9b49a300ceeb8df10124d0b4df82976e58ea
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21585
davidfstrhttps://github.com/davidfstr
June 3, 2026 18:58https://github.com/python/mypy/pull/21585#commits-pushed-5a03b13
https://github.com/davidfstr
SQUISH -> misc/perf_compare.py -- Workaround missing 'resource' modul…https://github.com/python/mypy/pull/21585/commits/5a03b136514da99902ea0f6e2fba6c3f0d20a377
5a03b13https://github.com/python/mypy/pull/21585/commits/5a03b136514da99902ea0f6e2fba6c3f0d20a377
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/21585/commits/91052ef56f02becab27ab524bedfd3cb10a00ed0
91052efhttps://github.com/python/mypy/pull/21585/commits/91052ef56f02becab27ab524bedfd3cb10a00ed0
https://pre-commit.cihttps://pre-commit.ci
https://github.com/davidfstr
SQUISH -> misc/perf_compare.py -- typechecker fixeshttps://github.com/python/mypy/pull/21585/commits/2b804d68f99b9e792822a2355682c2f9ab95226d
2b804d6https://github.com/python/mypy/pull/21585/commits/2b804d68f99b9e792822a2355682c2f9ab95226d
https://github.com/davidfstr
SQUISH -> misc/perf_compare.py -- typechecker fixes, take 2https://github.com/python/mypy/pull/21585/commits/12f933518d94df3e5203731c9cc4f0136853496b
12f9335https://github.com/python/mypy/pull/21585/commits/12f933518d94df3e5203731c9cc4f0136853496b
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 3, 2026https://github.com/python/mypy/pull/21585#issuecomment-4617607312
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jun 4, 2026https://github.com/python/mypy/pull/21585#issuecomment-4625624398
c0cced3https://github.com/python/mypy/commit/c0cced35c1451e04a3aa7d643605262987505863
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 4, 2026https://github.com/python/mypy/pull/21585#issuecomment-4625972380
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 5, 2026https://github.com/python/mypy/pull/21585#issuecomment-4633680209
c0cced3https://github.com/python/mypy/commit/c0cced35c1451e04a3aa7d643605262987505863
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 5, 2026https://github.com/python/mypy/pull/21585#issuecomment-4633728983
Please reload this pagehttps://github.com/python/mypy/pull/21585
c0cced3https://github.com/python/mypy/commit/c0cced35c1451e04a3aa7d643605262987505863
c0cced3https://github.com/python/mypy/commit/c0cced35c1451e04a3aa7d643605262987505863
c0cced3https://github.com/python/mypy/commit/c0cced35c1451e04a3aa7d643605262987505863
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 5, 2026https://github.com/python/mypy/pull/21585#issuecomment-4633772851
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
June 5, 2026 22:29https://github.com/python/mypy/pull/21585#event-26406251015
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 5, 2026https://github.com/python/mypy/pull/21585#issuecomment-4636080302
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 5, 2026 https://github.com/python/mypy/pull/21585#ref-pullrequest-4600628886
Reduce TypeForm recognition slowdown: 2 identifier fast-reject filters #21596 https://github.com/python/mypy/pull/21596
https://github.com/davidfstr
davidfstrhttps://github.com/davidfstr
Jun 14, 2026https://github.com/python/mypy/pull/21585#issuecomment-4701775430
#21596https://github.com/python/mypy/pull/21596
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fpython%2Fmypy%2Fpull%2F21585
Please reload this pagehttps://github.com/python/mypy/pull/21585
https://github.com/davidfstr
https://github.com/ilevkivskyi
https://github.com/hauntsaninja
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.