support upgrade-insecure-requests option

This commit is contained in:
Jun Kurihara 2022-07-10 04:28:50 +09:00
commit 1a80e405b5
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
8 changed files with 112 additions and 29 deletions

View file

@ -1,29 +1,29 @@
#!/bin/sh
echo "----------------------------"
echo "Benchmark on rpxy"
ab -c 100 -n 10000 http://127.0.0.1:8080/index.html
echo "----------------------------"
echo "Benchmark on nginx"
ab -c 100 -n 10000 http://127.0.0.1:8090/index.html
echo "----------------------------"
echo "Benchmark on caddy"
ab -c 100 -n 10000 http://127.0.0.1:8100/index.html
# echo "----------------------------"
# echo "Benchmark on rpxy"
# #wrk -t8 -c100 -d30s http://127.0.0.1:8080/index.html
# rewrk -c 256 -t 4 -d 15s -h http://127.0.0.1:8080 --pct
# ab -c 100 -n 10000 http://127.0.0.1:8080/index.html
# echo "----------------------------"
# echo "Benchmark on nginx"
# # wrk -t8 -c100 -d30s http://127.0.0.1:8090/index.html
# rewrk -c 256 -t 4 -d 15s -h http://127.0.0.1:8090 --pct
# ab -c 100 -n 10000 http://127.0.0.1:8090/index.html
# echo "----------------------------"
# echo "Benchmark on caddy"
# # wrk -t8 -c100 -d30s http://127.0.0.1:8100/index.html
# rewrk -c 256 -t 4 -d 15s -h http://127.0.0.1:8100 --pct
# ab -c 100 -n 10000 http://127.0.0.1:8100/index.html
echo "----------------------------"
echo "Benchmark on rpxy"
#wrk -t8 -c100 -d30s http://127.0.0.1:8080/index.html
rewrk -c 256 -t 8 -d 15s -h http://localhost:8080 --pct
echo "----------------------------"
echo "Benchmark on nginx"
# wrk -t8 -c100 -d30s http://127.0.0.1:8090/index.html
rewrk -c 256 -t 8 -d 15s -h http://localhost:8090 --pct
echo "----------------------------"
echo "Benchmark on caddy"
# wrk -t8 -c100 -d30s http://127.0.0.1:8100/index.html
rewrk -c 256 -t 8 -d 15s -h http://localhost:8100 --pct