mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
SSL benchmarks
This commit is contained in:
parent
21a33f73a9
commit
94093a6361
2 changed files with 16 additions and 0 deletions
8
benchmarks/wrk/jruby_ssl_realistic_response.sh
Executable file
8
benchmarks/wrk/jruby_ssl_realistic_response.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
bundle exec ruby bin/puma \
|
||||
-t 4 -b "ssl://localhost:9292?keystore=examples/puma/keystore.jks&keystore-pass=blahblah&verify_mode=none" \
|
||||
test/rackup/realistic_response.ru &
|
||||
PID1=$!
|
||||
sleep 5
|
||||
wrk -c 4 -d 30 --latency https://localhost:9292
|
||||
|
||||
kill $PID1
|
8
benchmarks/wrk/ssl_realistic_response.sh
Executable file
8
benchmarks/wrk/ssl_realistic_response.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
bundle exec ruby bin/puma \
|
||||
-t 4 -b "ssl://localhost:9292?key=examples%2Fpuma%2Fpuma_keypair.pem&cert=examples%2Fpuma%2Fcert_puma.pem&verify_mode=none" \
|
||||
test/rackup/realistic_response.ru &
|
||||
PID1=$!
|
||||
sleep 5
|
||||
wrk -c 4 -d 30 --latency https://localhost:9292
|
||||
|
||||
kill $PID1
|
Loading…
Add table
Reference in a new issue