René's URL Explorer Experiment


Title: RFC: Adopt msgspec.Structs for 5X parse performance and unlock 25X faster query caching deserialization by corydolphin · Pull Request #249 · graphql-python/graphql-core · GitHub

Open Graph Title: RFC: Adopt msgspec.Structs for 5X parse performance and unlock 25X faster query caching deserialization by corydolphin · Pull Request #249 · graphql-python/graphql-core

X Title: RFC: Adopt msgspec.Structs for 5X parse performance and unlock 25X faster query caching deserialization by corydolphin · Pull Request #249 · graphql-python/graphql-core

Description: A Python 3 port of the GraphQL.js reference implementation of GraphQL. - RFC: Adopt msgspec.Structs for 5X parse performance and unlock 25X faster query caching deserialization by corydolphin · Pull Request #249 · graphql-python/graphql-core

Open Graph Description: Hello @Cito, We make use of GraphQL-core (via graphene as our definition layer) at Nextdoor, and a core bottleneck for us is that query parsing is slow, and query serialization/deserializationperfo...

X Description: Hello @Cito, We make use of GraphQL-core (via graphene as our definition layer) at Nextdoor, and a core bottleneck for us is that query parsing is slow, and query serialization/deserializationperfo...

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

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:25fbbcc3-824c-f270-5c9f-e3546d7e7be4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8382:3F9D33:A9ECDA:E3FDFC:6AFFA1D7
html-safe-noncefd1292158b48803070bfc761c226bd0fb2577df91093c268bf915e408551fd7a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzgyOjNGOUQzMzpBOUVDREE6RTNGREZDOjZBRkZBMUQ3IiwidmlzaXRvcl9pZCI6IjkwMDMxMjE3MjYyNTQ0NTczMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca6744b761dd15be3b4fb358d4d2926fbdd3463f212b5bfceaae7748c7234bdf6
hovercard-subject-tagpull_request:3144868066
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/249/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7030e8c0e778ab82f19146c5dadc1f830d344b8efd5abcd22b0860f7005cd98c/graphql-python/graphql-core/pull/249
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7030e8c0e778ab82f19146c5dadc1f830d344b8efd5abcd22b0860f7005cd98c/graphql-python/graphql-core/pull/249
og:image:altHello @Cito, We make use of GraphQL-core (via graphene as our definition layer) at Nextdoor, and a core bottleneck for us is that query parsing is slow, and query serialization/deserializationperfo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecorydolphin
hostnamegithub.com
expected-hostnamegithub.com
Noneba28afc7a27af7a823370a957c9e2c39d10289886a55f1d91350f367020c25ca
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
release72f549919f17231189a8ff5726b8003c72c7eb99
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/graphql-python/graphql-core/pull/249#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-python%2Fgraphql-core%2Fpull%2F249
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%2F249
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/249
Reloadhttps://github.com/graphql-python/graphql-core/pull/249
Reloadhttps://github.com/graphql-python/graphql-core/pull/249
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
corydolphinhttps://github.com/corydolphin
graphql-python:mainhttps://github.com/graphql-python/graphql-core/tree/main
corydolphin:msgspec-performancehttps://github.com/corydolphin/graphql-core/tree/msgspec-performance
Conversationhttps://github.com/graphql-python/graphql-core/pull/249
Commits8 (8)https://github.com/graphql-python/graphql-core/pull/249/commits
Checkshttps://github.com/graphql-python/graphql-core/pull/249/checks
Files changedhttps://github.com/graphql-python/graphql-core/pull/249/files
RFC: Adopt msgspec.Structs for 5X parse performance and unlock 25X faster query caching deserializationhttps://github.com/graphql-python/graphql-core/pull/249#top
corydolphinhttps://github.com/corydolphin
graphql-python:mainhttps://github.com/graphql-python/graphql-core/tree/main
corydolphin:msgspec-performancehttps://github.com/corydolphin/graphql-core/tree/msgspec-performance
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 5, 2026https://github.com/graphql-python/graphql-core/pull/249#issue-3779813625
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
@Citohttps://github.com/Cito
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
corydolphinhttps://github.com/corydolphin
January 4, 2026 16:19https://github.com/graphql-python/graphql-core/pull/249#commits-pushed-3addddf
https://github.com/corydolphin
Add serialization benchmarks for parsed documentshttps://github.com/graphql-python/graphql-core/pull/249/commits/3addddfb980adf786d07005c2b40bcecb67f30a5
3addddfhttps://github.com/graphql-python/graphql-core/pull/249/commits/3addddfb980adf786d07005c2b40bcecb67f30a5
https://github.com/corydolphin
Use tuples for all AST collection fields (instead of lists)https://github.com/graphql-python/graphql-core/pull/249/commits/d0876778c976cab4e3b4eff559eee8d1240b8b25
d087677https://github.com/graphql-python/graphql-core/pull/249/commits/d0876778c976cab4e3b4eff559eee8d1240b8b25
https://github.com/corydolphin
Update minimum Python version to 3.10 and remove old python version h…https://github.com/graphql-python/graphql-core/pull/249/commits/55eb69ea8dbe023a4e180ad272c3d54f0f2175ad
55eb69ehttps://github.com/graphql-python/graphql-core/pull/249/commits/55eb69ea8dbe023a4e180ad272c3d54f0f2175ad
https://github.com/corydolphin
Flatten AST node hierarchy to union typeshttps://github.com/graphql-python/graphql-core/pull/249/commits/2e1f0c1cd948f3780f0437251910486e828692e7
2e1f0c1https://github.com/graphql-python/graphql-core/pull/249/commits/2e1f0c1cd948f3780f0437251910486e828692e7
https://github.com/corydolphin
Make visitor immutable-friendlyhttps://github.com/graphql-python/graphql-core/pull/249/commits/30a4a5ff5be753d69696c291dd5df297ae1c6747
30a4a5fhttps://github.com/graphql-python/graphql-core/pull/249/commits/30a4a5ff5be753d69696c291dd5df297ae1c6747
https://github.com/corydolphin
Fix tests to use proper AST node constructionhttps://github.com/graphql-python/graphql-core/pull/249/commits/0e60faf0e084637b09e7d6393cc8a0acf0aac216
0e60fafhttps://github.com/graphql-python/graphql-core/pull/249/commits/0e60faf0e084637b09e7d6393cc8a0acf0aac216
https://github.com/corydolphin
Major: Convert AST nodes to immutable msgspec.Struct for 5X parse per…https://github.com/graphql-python/graphql-core/pull/249/commits/3f6d87c88c0a069a7baee0bfd209539b54aff2c0
3f6d87chttps://github.com/graphql-python/graphql-core/pull/249/commits/3f6d87c88c0a069a7baee0bfd209539b54aff2c0
https://github.com/corydolphin
Add compact binary serialization for AST nodes (3X smaller size, 5X f…https://github.com/graphql-python/graphql-core/pull/249/commits/ec10b722f3bb84047fb8fc16cf1ad16606dec5f6
ec10b72https://github.com/graphql-python/graphql-core/pull/249/commits/ec10b722f3bb84047fb8fc16cf1ad16606dec5f6
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 5, 2026 00:29https://github.com/graphql-python/graphql-core/pull/249#event-21844208319
patrick91https://github.com/patrick91
Jan 5, 2026 https://github.com/graphql-python/graphql-core/pull/249#ref-commit-6c0670e
https://github.com/patrick91
Use graphql-core msgspec branch for benchmarkinghttps://github.com/strawberry-graphql/strawberry/commit/6c0670e224b6c9920ba9f09479cbd3de00efa387
6c0670ehttps://github.com/strawberry-graphql/strawberry/commit/6c0670e224b6c9920ba9f09479cbd3de00efa387
#249https://github.com/strawberry-graphql/strawberry/pull/249
graphql-python/graphql-core#249https://github.com/graphql-python/graphql-core/pull/249
https://github.com/patrick91
patrick91https://github.com/patrick91
Jan 5, 2026 https://github.com/graphql-python/graphql-core/pull/249#ref-pullrequest-3781225434
Benchmark graphql-core PR #249 (msgspec performance) strawberry-graphql/strawberry#4086 https://github.com/strawberry-graphql/strawberry/pull/4086
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 5, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3711661457
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
@patrick91https://github.com/patrick91
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/patrick91
patrick91https://github.com/patrick91
Jan 5, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3711668069
@corydolphinhttps://github.com/corydolphin
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 5, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3711694162
689a70dhttps://github.com/graphql-python/graphql-core/commit/689a70d052a58277d20cc6b6348b0eb31ad3a113
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/patrick91
patrick91https://github.com/patrick91
Jan 6, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3715072827
https://github.com/erikwrede/rustberryhttps://github.com/erikwrede/rustberry
689a70dhttps://github.com/graphql-python/graphql-core/commit/689a70d052a58277d20cc6b6348b0eb31ad3a113
@erikwredehttps://github.com/erikwrede
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/Cito
Citohttps://github.com/Cito
Jan 6, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3715075394
@corydolphinhttps://github.com/corydolphin
herehttps://github.com/graphql/graphql-js/commit/aa573e8dc141e0e8f31f734e63173b6631d29fe2
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 6, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3715725886
@Citohttps://github.com/Cito
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/Cito
Citohttps://github.com/Cito
Jan 6, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3716239777
@corydolphinhttps://github.com/corydolphin
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 6, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3716698705
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
1: Add Serialization Benchmark #250https://github.com/graphql-python/graphql-core/pull/250
2: Use tuples for all AST collection fields (instead of lists) #251https://github.com/graphql-python/graphql-core/pull/251
3: [Breaking] Update minimum Python version to 3.10 #252https://github.com/graphql-python/graphql-core/pull/252
4: Make visitor immutable friendly #253https://github.com/graphql-python/graphql-core/pull/253
5: Fix tests to use proper ast node #254https://github.com/graphql-python/graphql-core/pull/254
6: Fix parser type safety for stricter AST types #255https://github.com/graphql-python/graphql-core/pull/255
7: Convert AST nodes to frozen dataclasses (70% faster decode, 40% faster parsing) #256https://github.com/graphql-python/graphql-core/pull/256
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 7, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3717367347
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/Cito
Citohttps://github.com/Cito
Jan 7, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3720492945
@corydolphinhttps://github.com/corydolphin
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/Cito
Citohttps://github.com/Cito
Jan 8, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3724674476
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
@corydolphinhttps://github.com/corydolphin
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 9, 2026https://github.com/graphql-python/graphql-core/pull/249#issuecomment-3729778119
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
@Citohttps://github.com/Cito
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/corydolphin
corydolphinhttps://github.com/corydolphin
Jan 9, 2026https://github.com/graphql-python/graphql-core/pull/249#event-21951696305
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%2F249
https://github.com/Cito
Cito https://github.com/Cito
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
Please reload this pagehttps://github.com/graphql-python/graphql-core/pull/249
https://github.com/corydolphin
https://github.com/patrick91
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.