TL;DR
- graphql-jit helps
- apollo-server adds overhead
- tracing resolvers kills performance
- type-graphql adds overhead
Usage
git clone https://github.com/DomenicoColandrea86/node-graphql-benchmarks.git
cd benchmarks
npm install
npm start
Benchmarks
duration: 5s connections: 5 pipelining: 1