graphql-python / graphql-python/graphql-core

Improve performance of async execution

未关闭
#142 6 条评论 0 个 reaction 已指派 2 人 已被 @jkimbo 认领 在 GitHub 查看
help wanted investigate optimization
主要语言
Python
星标
531
派生
146
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。