super-graph/bench/bench.sh

7 lines
286 B
Bash
Raw Permalink Normal View History

2019-06-17 07:58:00 +02:00
#!/bin/sh
if brew ls --versions wrk > /dev/null; then
wrk -t12 -c400 -d30s --timeout 10s --script=query.lua --latency http://localhost:8080/api/v1/graphql
else
brew install wek
wrk -t12 -c400 -d30s --timeout 10s --script=query.lua --latency http://localhost:8080/api/v1/graphql
2019-07-30 07:38:05 +02:00
fi