add bench docker

This commit is contained in:
Jun Kurihara 2022-06-28 00:58:05 -04:00
commit 7172f932ca
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
8 changed files with 78 additions and 8 deletions

13
bench/bench.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/sh
echo "----------------------------"
echo "Benchmark on rpxy"
ab -c 32 -n 10000 http://127.0.0.1:8080/
echo "----------------------------"
echo "Benchmark on nginx"
ab -c 32 -n 10000 http://127.0.0.1:8090/
echo "----------------------------"
echo "Benchmark on caddy"
ab -c 32 -n 10000 http://127.0.0.1:8100/