1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/benchmarks/wrk/hello.sh

9 lines
221 B
Bash
Raw Normal View History

2019-10-02 22:53:03 +02:00
# You are encouraged to use @ioquatix's wrk fork, located here: https://github.com/ioquatix/wrk
bundle exec bin/puma -t 4 test/rackup/hello.ru &
2019-10-02 22:53:03 +02:00
PID1=$!
sleep 5
wrk -c 4 -d 30 --latency http://localhost:9292
2019-10-02 22:53:03 +02:00
kill $PID1