microsoft / graphitation

GraphQL tooling & runtime support needed for MS Teams and beyond
https://microsoft.github.io/graphitation/
MIT License
137 stars 30 forks source link

[Performance update] Remove multiple cloneDeep #381

Closed jpsahoo14 closed 7 months ago

jpsahoo14 commented 7 months ago

CloneDeep was being done for the result of Graphql response. It was being done multiple times. For large response object from graphql, this cloneDeep can take around 40ms, so reducing the number of times, makes it performant.

Changes were done as part of Pull request