René's URL Explorer Experiment


Title: 7: Convert AST nodes to frozen dataclasses (70% faster decode, 40% faster parsing) by corydolphin · Pull Request #256 · graphql-python/graphql-core · GitHub

Open Graph Title: 7: Convert AST nodes to frozen dataclasses (70% faster decode, 40% faster parsing) by corydolphin · Pull Request #256 · graphql-python/graphql-core

X Title: 7: Convert AST nodes to frozen dataclasses (70% faster decode, 40% faster parsing) by corydolphin · Pull Request #256 · graphql-python/graphql-core

Description: A Python 3 port of the GraphQL.js reference implementation of GraphQL. - 7: Convert AST nodes to frozen dataclasses (70% faster decode, 40% faster parsing) by corydolphin · Pull Request #256 · graphql-python/graphql-core

Open Graph Description: Refactor all of the GraphQL AST Nodes to use Python dataclasses to provide better type safety, immutability guarantees, and cleaner code while maintaining backwards compatibility with existing APIs...

X Description: Refactor all of the GraphQL AST Nodes to use Python dataclasses to provide better type safety, immutability guarantees, and cleaner code while maintaining backwards compatibility with existing APIs...

Opengraph URL: https://github.com/graphql-python/graphql-core/pull/256

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:305b5f76-a24d-e1c4-046f-9e9f11b87643
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB274:2E9DBB:D6BB35:120C7F9:6AFFB497
html-safe-nonce37d98a7178c810fb8a8b5fb4afa2ea6851201b7b67a107ef38e86c34522d9751
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjc0OjJFOURCQjpENkJCMzU6MTIwQzdGOTo2QUZGQjQ5NyIsInZpc2l0b3JfaWQiOiI2MzEwOTQxMzI3ODE5MjU2OTgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacafee7d760ec8960b709e3b9dc9518a07f8fb51c95999a1657a8aac682404e8d9
hovercard-subject-tagpull_request:3151391407
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/graphql-python/graphql-core/256/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4604f23fa760effba1d28845c88924878ce1fc16e25a7fc0cf942359e6730d2e/graphql-python/graphql-core/pull/256
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4604f23fa760effba1d28845c88924878ce1fc16e25a7fc0cf942359e6730d2e/graphql-python/graphql-core/pull/256
og:image:altRefactor all of the GraphQL AST Nodes to use Python dataclasses to provide better type safety, immutability guarantees, and cleaner code while maintaining backwards compatibility with existing APIs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecorydolphin
hostnamegithub.com
expected-hostnamegithub.com
None0cfbaed33b1bdb4acc1759cf1f9961081735b46e22e30a787492e9eeb3019ca2
turbo-cache-controlno-cache
go-importgithub.com/graphql-python/graphql-core git https://github.com/graphql-python/graphql-core.git
octolytics-dimension-user_id15002022
octolytics-dimension-user_logingraphql-python
octolytics-dimension-repository_id143207933
octolytics-dimension-repository_nwographql-python/graphql-core
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143207933
octolytics-dimension-repository_network_root_nwographql-python/graphql-core
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
release4992f08cc0d7b67d9895cb99b8e0e36c6493ee78
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/graphql-python/graphql-core/pull/256#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-python%2Fgraphql-core%2Fpull%2F256
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%2Fgraphql-python%2Fgraphql-core%2Fpull%2F256
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=graphql-python%2Fgraphql-core
Reloadhttps://github.com/graphql-python/graphql-core/pull/256
Reloadhttps://github.com/graphql-python/graphql-core/pull/256
Reloadhttps://github.com/graphql-python/graphql-core/pull/256
graphql-pythonhttps://github.com/graphql-python
graphql-corehttps://github.com/graphql-python/graphql-core
Codehttps://github.com/graphql-python/graphql-core
Issues24 (24)https://github.com/graphql-python/graphql-core/issues
Pull requests3 (3)https://github.com/graphql-python/graphql-core/pulls
Actionshttps://github.com/graphql-python/graphql-core/actions
Projectshttps://github.com/graphql-python/graphql-core/projects
Security and quality3 (3)https://github.com/graphql-python/graphql-core/security
Insightshttps://github.com/graphql-python/graphql-core/insights
https://github.com/graphql-python/graphql-core
Citohttps://github.com/Cito
graphql-python:mainhttps://github.com/graphql-python/graphql-core/tree/main
corydolphin:convert-ast-to-dataclasseshttps://github.com/corydolphin/graphql-core/tree/convert-ast-to-dataclasses
Conversationhttps://github.com/graphql-python/graphql-core/pull/256
Commits8 (8)https://github.com/graphql-python/graphql-core/pull/256/commits
Checkshttps://github.com/graphql-python/graphql-core/pull/256/checks
Files changedhttps://github.com/graphql-python/graphql-core/pull/256/files
7: Convert AST nodes to frozen dataclasses (70% faster decode, 40% faster parsing)https://github.com/graphql-python/graphql-core/pull/256#top
Citohttps://github.com/Cito
graphql-python:mainhttps://github.com/graphql-python/graphql-core/tree/main
corydolphin:convert-ast-to-dataclasseshttps://github.com/corydolphin/graphql-core/tree/convert-ast-to-dataclasses
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 7, 2026https://github.com/graphql-python/graphql-core/pull/256#issue-3787398469
837f604https://github.com/graphql-python/graphql-core/commit/837f604f9a7fc47a85be599b48cb71d2516c1e12
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
corydolphinhttps://github.com/corydolphin
January 6, 2026 14:01https://github.com/graphql-python/graphql-core/pull/256#commits-pushed-837f604
https://github.com/corydolphin
Add Serialization Benchmarkhttps://github.com/graphql-python/graphql-core/pull/256/commits/837f604f9a7fc47a85be599b48cb71d2516c1e12
837f604https://github.com/graphql-python/graphql-core/pull/256/commits/837f604f9a7fc47a85be599b48cb71d2516c1e12
https://github.com/corydolphin
Use tuples for all AST collection fields (instead of lists)https://github.com/graphql-python/graphql-core/pull/256/commits/83c2dd600ad2f11cd65381a5847b3c95ba9f00c2
83c2dd6https://github.com/graphql-python/graphql-core/pull/256/commits/83c2dd600ad2f11cd65381a5847b3c95ba9f00c2
https://github.com/corydolphin
Update minimum Python version to 3.10https://github.com/graphql-python/graphql-core/pull/256/commits/a30b836faca8c589a46c4c8d2bc457b3773657a8
a30b836https://github.com/graphql-python/graphql-core/pull/256/commits/a30b836faca8c589a46c4c8d2bc457b3773657a8
https://github.com/corydolphin
Make visitor immutable-friendlyhttps://github.com/graphql-python/graphql-core/pull/256/commits/c63ef1d2bf5bf86d1add3da69df08619ebb860cb
c63ef1dhttps://github.com/graphql-python/graphql-core/pull/256/commits/c63ef1d2bf5bf86d1add3da69df08619ebb860cb
https://github.com/corydolphin
Fix tests to use proper AST node construction and typeshttps://github.com/graphql-python/graphql-core/pull/256/commits/6c91ccf4f5f1f84e02fdc819b8feafaecc505b81
6c91ccfhttps://github.com/graphql-python/graphql-core/pull/256/commits/6c91ccf4f5f1f84e02fdc819b8feafaecc505b81
https://github.com/corydolphin
Fix parser type safety for stricter AST typeshttps://github.com/graphql-python/graphql-core/pull/256/commits/505d347b4fe36dff1cbd71f7660b36685953f643
505d347https://github.com/graphql-python/graphql-core/pull/256/commits/505d347b4fe36dff1cbd71f7660b36685953f643
https://github.com/corydolphin
Convert AST nodes to frozen dataclasses (70% faster decode, 40% faste…https://github.com/graphql-python/graphql-core/pull/256/commits/6e52ed0af9dcfa29c2ee73084857f4592e8f1b94
6e52ed0https://github.com/graphql-python/graphql-core/pull/256/commits/6e52ed0af9dcfa29c2ee73084857f4592e8f1b94
837f604https://github.com/corydolphin/graphql-core/commit/837f604f9a7fc47a85be599b48cb71d2516c1e12
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Citohttps://github.com/Cito
code ownerhttps://github.com/graphql-python/graphql-core/blob/283d002ba923eb259824a8f1be36ec649a8d1945/CODEOWNERS#L1
January 7, 2026 05:24https://github.com/graphql-python/graphql-core/pull/256#event-21890132221
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 7, 2026 https://github.com/graphql-python/graphql-core/pull/256#ref-pullrequest-3779813625
RFC: Adopt msgspec.Structs for 5X parse performance and unlock 25X faster query caching deserialization #249 https://github.com/graphql-python/graphql-core/pull/249
https://github.com/apps/codspeed
codspeedhttps://github.com/apps/codspeed
Jan 8, 2026https://github.com/graphql-python/graphql-core/pull/256#issuecomment-3723844718
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
CodSpeed Performance Reporthttps://codspeed.io/graphql-python/graphql-core/branches/corydolphin%3Aconvert-ast-to-dataclasses?utm_source=github&utm_medium=comment&utm_content=header
c04825ehttps://github.com/graphql-python/graphql-core/commit/c04825eac6918d5f56526a3a23aa4b9b0fa773b3
020ec1fhttps://github.com/graphql-python/graphql-core/commit/020ec1f1ff16547ab6871119ff1bee28bbd83440
acknowledge them on CodSpeedhttps://codspeed.io/graphql-python/graphql-core/branches/corydolphin%3Aconvert-ast-to-dataclasses?utm_source=github&utm_medium=comment&utm_content=acknowledge
test_validate_introspection_queryhttps://codspeed.io/graphql-python/graphql-core/branches/corydolphin%3Aconvert-ast-to-dataclasses?uri=tests%2Fbenchmarks%2Ftest_validate_gql.py%3A%3Atest_validate_introspection_query&runnerMode=Instrumentation&utm_source=github&utm_medium=comment&utm_content=benchmark
test_pickle_large_query_roundtriphttps://codspeed.io/graphql-python/graphql-core/branches/corydolphin%3Aconvert-ast-to-dataclasses?uri=tests%2Fbenchmarks%2Ftest_serialization.py%3A%3Atest_pickle_large_query_roundtrip&runnerMode=Instrumentation&utm_source=github&utm_medium=comment&utm_content=benchmark
test_pickle_large_query_encodehttps://codspeed.io/graphql-python/graphql-core/branches/corydolphin%3Aconvert-ast-to-dataclasses?uri=tests%2Fbenchmarks%2Ftest_serialization.py%3A%3Atest_pickle_large_query_encode&runnerMode=Instrumentation&utm_source=github&utm_medium=comment&utm_content=benchmark
test_parse_kitchen_sinkhttps://codspeed.io/graphql-python/graphql-core/branches/corydolphin%3Aconvert-ast-to-dataclasses?uri=tests%2Fbenchmarks%2Ftest_parser.py%3A%3Atest_parse_kitchen_sink&runnerMode=Instrumentation&utm_source=github&utm_medium=comment&utm_content=benchmark
test_parse_large_queryhttps://codspeed.io/graphql-python/graphql-core/branches/corydolphin%3Aconvert-ast-to-dataclasses?uri=tests%2Fbenchmarks%2Ftest_serialization.py%3A%3Atest_parse_large_query&runnerMode=Instrumentation&utm_source=github&utm_medium=comment&utm_content=benchmark
test_pickle_large_query_decodehttps://codspeed.io/graphql-python/graphql-core/branches/corydolphin%3Aconvert-ast-to-dataclasses?uri=tests%2Fbenchmarks%2Ftest_serialization.py%3A%3Atest_pickle_large_query_decode&runnerMode=Instrumentation&utm_source=github&utm_medium=comment&utm_content=benchmark
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
https://github.com/Cito
Merge branch 'main' into convert-ast-to-dataclasseshttps://github.com/graphql-python/graphql-core/pull/256/commits/c04825eac6918d5f56526a3a23aa4b9b0fa773b3
c04825ehttps://github.com/graphql-python/graphql-core/pull/256/commits/c04825eac6918d5f56526a3a23aa4b9b0fa773b3
https://github.com/Cito
Citohttps://github.com/Cito
Jan 8, 2026https://github.com/graphql-python/graphql-core/pull/256#issuecomment-3724512373
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
#250https://github.com/graphql-python/graphql-core/pull/250
#256https://github.com/graphql-python/graphql-core/pull/256
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
https://github.com/Cito
Citohttps://github.com/Cito
Jan 8, 2026https://github.com/graphql-python/graphql-core/pull/256#issuecomment-3724572815
@corydolphinhttps://github.com/corydolphin
#257https://github.com/graphql-python/graphql-core/issues/257
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
https://github.com/Cito
Citohttps://github.com/Cito
629b763https://github.com/graphql-python/graphql-core/commit/629b763a0eb10dabd751308317b17c1a988a6aed
Jan 8, 2026https://github.com/graphql-python/graphql-core/pull/256#event-21927161345
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
https://github.com/leszekhanusz
leszekhanuszhttps://github.com/leszekhanusz
Mar 30, 2026 https://github.com/graphql-python/graphql-core/pull/256#ref-issue-4173710853
AST classes Breaking changes in graphql-core 3.3.0a12 #262 https://github.com/graphql-python/graphql-core/issues/262
https://github.co/hiddenchars
https://github.com/graphql-python/graphql-core/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%2Fgraphql-python%2Fgraphql-core%2Fpull%2F256
https://github.com/Cito
Cito https://github.com/Cito
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/256
https://github.com/corydolphin
https://github.com/Cito
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.