graphql-tools
graphql-tools copied to clipboard
Performance Issues because of AbortSignal (Execution Cancellation Plugin)
This line here likely makes yoga 10x slower because it almost spends all of it's time adding event listeners when an AbortSignal is provided through the execution context. I just wanted to share my finding here and I'm currently looking for a solution and I don't have an idea yet how to fix that...
https://github.com/ardatan/graphql-tools/blob/5ecdb9dc6f119189892aeb9f284a1fae306b7ff9/packages/executor/src/execution/promiseForObject.ts#L18
Maybe it's some kind of regression because of this commit here: https://github.com/ardatan/graphql-tools/commit/020b9e47b51f9847bf915d ?