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

Start of a benchmark folder

This commit is contained in:
Nate Berkopec 2019-10-02 22:53:03 +02:00
parent 6bb070bb47
commit 0bbb495236
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6
2 changed files with 14 additions and 0 deletions

8
benchmarks/wrk/hello.sh Executable file
View file

@ -0,0 +1,8 @@
# You are encouraged to use @ioquatix's wrk fork, located here: https://github.com/ioquatix/wrk
bundle exec bin/puma -t 5 test/rackup/hello.ru &
PID1=$!
sleep 5
wrk -c 5 --latency http://localhost:9292
kill $PID1

View file

@ -0,0 +1,6 @@
bundle exec bin/puma -t 5 test/rackup/hello.ru &
PID1=$!
sleep 5
wrk -c 10 --latency http://localhost:9292
kill $PID1