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

SSL benchmarks

This commit is contained in:
Nate Berkopec 2020-03-18 12:53:04 -06:00
parent 21a33f73a9
commit 94093a6361
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6
2 changed files with 16 additions and 0 deletions

View 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

View 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