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 摘要。