Show HN: graphql-request-profiler – a small GraphQL performance analysis plugin
github.com
github.com
It's a small TypeScript plugin for GraphQL servers to trace and visualize resolver execution time. The plugin currently supports express-graphql and Apollo servers.
It can be used to identify areas of a graph that are slow and ripe for optimization, or taking historical measures of query performance at a granular level with a CICD pipeline.
Getting started is as easy as installing with your preferred package manager, and adding two lines of code. Send a request using the plugins nifty CLI companion tool and VOILA -- out comes an easy-to-read waterfall chart visualization of the returned trace data.
I hope someone here finds it helpful! I would love to hear your feedback!
The package is very easy to integrate. Nice work!