| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
* The `resolve` routine was an async recursive function. * Because this function gets called for every value, the number of async tasks can become extremely large for large or deeply nested GraphQL responses. * Python functions have overheads, async tasks have additional overheads, this created a severe performance bottleneck. * Simple solution, make the function iterative rather than recursive.
| Back | FazBrowse Home | New Git URL |
For an example usage in my project, this brought runtime down by ~10 seconds.