totally refactored

This commit is contained in:
Jun Kurihara 2022-07-09 01:01:00 +09:00
commit 907d7e574b
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
13 changed files with 372 additions and 252 deletions

View file

@ -1,29 +1,29 @@
#!/bin/sh
# echo "----------------------------"
# echo "Benchmark on rpxy"
# ab -c 16 -n 10000 http://127.0.0.1:8080/index.html
# echo "----------------------------"
# echo "Benchmark on nginx"
# ab -c 16 -n 10000 http://127.0.0.1:8090/index.html
# echo "----------------------------"
# echo "Benchmark on caddy"
# ab -c 16 -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://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 8 -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 8 -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 4 -d 15s -h http://127.0.0.1:8080 --pct
# 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
# 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