From 94093a6361d5c59088773acba3ecf47fa461e6eb Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Wed, 18 Mar 2020 12:53:04 -0600 Subject: [PATCH] SSL benchmarks --- benchmarks/wrk/jruby_ssl_realistic_response.sh | 8 ++++++++ benchmarks/wrk/ssl_realistic_response.sh | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100755 benchmarks/wrk/jruby_ssl_realistic_response.sh create mode 100755 benchmarks/wrk/ssl_realistic_response.sh diff --git a/benchmarks/wrk/jruby_ssl_realistic_response.sh b/benchmarks/wrk/jruby_ssl_realistic_response.sh new file mode 100755 index 00000000..5eeb6ddc --- /dev/null +++ b/benchmarks/wrk/jruby_ssl_realistic_response.sh @@ -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 diff --git a/benchmarks/wrk/ssl_realistic_response.sh b/benchmarks/wrk/ssl_realistic_response.sh new file mode 100755 index 00000000..da55da66 --- /dev/null +++ b/benchmarks/wrk/ssl_realistic_response.sh @@ -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