René's URL Explorer Experiment


Title: Performance issues related to complete_value on large datasets · Issue #189 · graphql-python/graphql-core · GitHub

Open Graph Title: Performance issues related to complete_value on large datasets · Issue #189 · graphql-python/graphql-core

X Title: Performance issues related to complete_value on large datasets · Issue #189 · graphql-python/graphql-core

Description: Hi! We've noticed that returning a list of 5k elements, with a couple of nested objects is pretty slow: Person { id name lastname age address {street number} job {id org_name} partner {id name} pets {name type} school {id name} } ncalls ...

Open Graph Description: Hi! We've noticed that returning a list of 5k elements, with a couple of nested objects is pretty slow: Person { id name lastname age address {street number} job {id org_name} partner {id name} pet...

X Description: Hi! We've noticed that returning a list of 5k elements, with a couple of nested objects is pretty slow: Person { id name lastname age address {street number} job {id org_name} partner {id name}...

Opengraph URL: https://github.com/graphql-python/graphql-core/issues/189

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Performance issues related to complete_value on large datasets","articleBody":"Hi! We've noticed that returning a list of 5k elements, with a couple of nested objects is pretty slow:\r\n\r\n```\r\nPerson {\r\n  id\r\n  name\r\n  lastname\r\n  age\r\n  address {street number}\r\n  job {id org_name}\r\n  partner {id name}\r\n  pets {name type}\r\n  school {id name}\r\n}\r\n```\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/31131027/211893262-bf9f03be-6976-4ac6-ab48-68344a3bd549.png)\r\n\r\n\u003cdiv dir=\"ltr\" style=\"margin-left:0pt;\" align=\"left\" id=\"docs-internal-guid-cb368ed0-7fff-816b-121a-afa47f4689ff\">\r\n\r\nncalls | tottime | percall | cumtime | percall | filename:lineno(function)\r\n-- | -- | -- | -- | -- | --\r\n1 | 1.8e-05 | 1.8e-05 | 2.145 | 2.145 | graphql.py:103(graphql_sync)\r\n1 | 1.5e-05 | 1.5e-05 | 2.145 | 2.145 | graphql.py:152(graphql_impl)\r\n1/30001 | 0.19 | 6.335e-06 | 2.137 | 7.122e-05 | execute.py:413(ExecutionContext.execute_fields)\r\n1 | 1.3e-05 | 1.3e-05 | 2.137 | 2.137 | execute.py:965(execute)\r\n1 | 7e-06 | 7e-06 | 2.137 | 2.137 | execute.py:328(ExecutionContext.execute_operation)\r\n1/135001 | 0.3229 | 2.392e-06 | 2.135 | 1.581e-05 | execute.py:485(ExecutionContext.execute_field)\r\n1/145001 | 0.2737 | 1.888e-06 | 2.071 | 1.428e-05 | execute.py:575(ExecutionContext.complete_value)\r\n1 | 0.009884 | 0.009884 | 2.071 | 2.071 | execute.py:660(ExecutionContext.complete_list_value)\r\n**5000/30000** | 0.02747 | 9.156e-07 | 2.026 | 6.752e-05 | execute.py:893(ExecutionContext.complete_object_value)\r\n\r\n\u003c/div>\r\n\r\nBy itself it's not really a slow function, but its executed 30k times. Is there any way to reduce the overhead by reducing the number of times this function is invoked?\r\n\r\nTested on Python 3.8 and graphql-core==3.2.3","author":{"url":"https://github.com/JCatrielLopez","@type":"Person","name":"JCatrielLopez"},"datePublished":"2023-01-11T19:01:33Z","url":"https://github.com/graphql-python/graphql-core/issues/189"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b6f283e3-0b9f-76f4-c4cb-a7f6f2cf64ec
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD114:3B10DD:355B9B:44FC2D:6AFFC7B6
html-safe-nonce73c87b685fc5f0013fd3e808e8b2747d61d93b4aba0e2847495acd069f0e23f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTE0OjNCMTBERDozNTVCOUI6NDRGQzJEOjZBRkZDN0I2IiwidmlzaXRvcl9pZCI6Ijc5OTQ3NjExMjg1NDQ1NTI4ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd5b1aed31bba9be27004c2c4100376022d09310eaad4128493ae3e985656e035
hovercard-subject-tagissue:1529531169
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-python/graphql-core/189/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a45544dbb57a18b9b72a30b3cd36d0b10c86d0fb9a22ab51643bdd4d9ad79272/graphql-python/graphql-core/issues/189
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a45544dbb57a18b9b72a30b3cd36d0b10c86d0fb9a22ab51643bdd4d9ad79272/graphql-python/graphql-core/issues/189
og:image:altHi! We've noticed that returning a list of 5k elements, with a couple of nested objects is pretty slow: Person { id name lastname age address {street number} job {id org_name} partner {id name} pet...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJCatrielLopez
hostnamegithub.com
expected-hostnamegithub.com
None1e805b832df235bb21305db712c3b6432920019dfc12cb25b9cb8d3b0c9403cf
turbo-cache-controlno-preview
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
release8fa4a54e6871c7908eda1c246ad5972982c0b59d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/graphql-python/graphql-core/issues/189#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-python%2Fgraphql-core%2Fissues%2F189
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%2Fissues%2F189
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=graphql-python%2Fgraphql-core
Reloadhttps://github.com/graphql-python/graphql-core/issues/189
Reloadhttps://github.com/graphql-python/graphql-core/issues/189
Reloadhttps://github.com/graphql-python/graphql-core/issues/189
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
New issuehttps://github.com/login?return_to=https://github.com/graphql-python/graphql-core/issues/189
New issuehttps://github.com/login?return_to=https://github.com/graphql-python/graphql-core/issues/189
Performance issues related to complete_value on large datasetshttps://github.com/graphql-python/graphql-core/issues/189#top
https://github.com/JCatrielLopez
JCatrielLopezhttps://github.com/JCatrielLopez
on Jan 11, 2023https://github.com/graphql-python/graphql-core/issues/189#issue-1529531169
https://user-images.githubusercontent.com/31131027/211893262-bf9f03be-6976-4ac6-ab48-68344a3bd549.png
JCatrielLopezhttps://github.com/JCatrielLopez
on Jan 11, 2023https://github.com/graphql-python/graphql-core/issues/189#event-8204617094
https://github.com/JCatrielLopez
JCatrielLopezhttps://github.com/JCatrielLopez
on Jan 11, 2023https://github.com/graphql-python/graphql-core/issues/189#issuecomment-1379393601
this graphql-js issuehttps://github.com/graphql/graphql-js/issues/723#issuecomment-357474466
https://github.com/Cito
Citohttps://github.com/Cito
on Jan 11, 2023https://github.com/graphql-python/graphql-core/issues/189#issuecomment-1379451217
https://github.com/JCatrielLopez
JCatrielLopezhttps://github.com/JCatrielLopez
on Jan 12, 2023https://github.com/graphql-python/graphql-core/issues/189#issuecomment-1380179972
Sign up for freehttps://github.com/signup?return_to=https://github.com/graphql-python/graphql-core/issues/189
Sign in to commenthttps://github.com/login?return_to=https://github.com/graphql-python/graphql-core/issues/189
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.