graphql-python / graphql-python/graphql-core

Improve performance of async execution

Open
#142 6 comments 0 reactions 2 assignees Claimed by @jkimbo View on GitHub
help wanted investigate optimization
Dominant language
Python
Stars
531
Forks
146
PR merge metrics
No merged PRs in 30d

Description

When executing a query against a schema that contains async resolvers, then the executor method creates some overhead by defining and calling async functions (`async def async_...` inside methods in `execute.py`).

We should check whether pre-defining these functions or static methods of the ExecutionContext could reduce this overhead and boost performance. See also benchmarks provided in #141.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.