gql-metrics
v1.0.0
Published
1. Clone repository and run `npm i` 2. Update the configs in ./src/config.ts 3. run `npm start <iterations>`. Iterations is the number of fetch requests to be sent. 4. Watch the output :)
Downloads
4
Readme
How to use
- Clone repository and run
npm i
- Update the configs in ./src/config.ts
- run
npm start <iterations>
. Iterations is the number of fetch requests to be sent. - Watch the output :)
There is a 2000ms delay between fetch requests to avoid DoS'ing the server. This can be updated but be careful about making it shorter!
getPosts
"query getPosts {posts {nodes {id title content}}}"