graphql-bench
graphql-bench copied to clipboard
Enhancements to make this more valuable to GraphQL backend developers
- Work your way up to a 95% percentile latency limit to automatically find the rps where the system breaks
- Sample CPU and RAM (even if inaccurate) to give the developer a sense of resource consumption
- Spin up and spin down a backend for every suite so that resources are freed up
-
I agree.
-
We can't do this. There is no guarantee that the server that is being bench-marked is running on the same machine as
graphql-bench. -
We should have pre/post benchmarking scripts that can be executed
- You can take cpu and ram info from docker, there is a python docker api that can be used to get the container used resources