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:
parent
6bb070bb47
commit
0bbb495236
2 changed files with 14 additions and 0 deletions
8
benchmarks/wrk/hello.sh
Executable file
8
benchmarks/wrk/hello.sh
Executable 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
|
6
benchmarks/wrk/more_conns_than_threads.sh
Executable file
6
benchmarks/wrk/more_conns_than_threads.sh
Executable 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
|
Loading…
Reference in a new issue