graphql-python / graphql-python/graphql-core

Improve performance of async execution

Ouverte
#142 6 commentaires 0 réactions 2 personnes assignées Réclamée par @jkimbo Voir sur GitHub
help wanted investigate optimization
Langage dominant
Python
Étoiles
531
Forks
146
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.