build: mocha@9.2.1
[express.git] / benchmarks / run
blob93b5bc52ff2dd709dacd7a32c4dc9382c7b7aa22
1 #!/usr/bin/env bash
3 echo
4 MW=$1 node $2 &
5 pid=$!
7 sleep 2
9 wrk 'http://localhost:3333/?foo[bar]=baz' \
10 -d 3 \
11 -c 50 \
12 -t 8 \
13 | grep 'Requests/sec' \
14 | awk '{ print " " $2 }'
16 kill $pid