1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/benchmarks/local/response_time_wrk.sh
MSP-Greg f02cdcd5c4
Benchmarks - add ResponseTimeWrk files (#2895)
* Update & add new test/rackup files

* Add benchmarks/local files
2022-09-11 10:08:54 -05:00

18 lines
345 B
Bash
Executable file

#!/bin/bash
# see comments in response_time_wrk.rb
source benchmarks/local/bench_base.sh
if [ "$skt_type" == "unix" ] || [ "$skt_type" == "aunix" ]; then
printf "\nwrk doesn't support UNIXSockets...\n\n"
exit
fi
StartPuma
ruby -I./lib benchmarks/local/response_time_wrk.rb $ruby_args -W $wrk_str
wrk_exit=$?
printf "\n"
exit $wrk_exit