add benchmark result and fix Dockerfile names since it does not depends on architecture

This commit is contained in:
Jun Kurihara 2023-07-24 20:08:18 +09:00
commit 7f52dce23d
No known key found for this signature in database
GPG key ID: D992B3E3DE1DED23
11 changed files with 354 additions and 19 deletions

53
bench/bench.amd64.sh Normal file
View file

@ -0,0 +1,53 @@
#!/bin/sh
echo "----------------------------"
echo "Benchmark [x86_64] with ReWrk"
echo "----------------------------"
echo "Benchmark on rpxy"
rewrk -c 512 -t 4 -d 15s -h http://localhost:8080 --pct
echo "sleep 3 secs"
sleep 3
echo "----------------------------"
echo "Benchmark on nginx"
rewrk -c 512 -t 4 -d 15s -h http://localhost:8090 --pct
echo "sleep 3 secs"
sleep 3
echo "----------------------------"
echo "Benchmark on caddy"
rewrk -c 512 -t 4 -d 15s -h http://localhost:8100 --pct
echo "sleep 3 secs"
sleep 3
echo "----------------------------"
echo "Benchmark [x86_64] with Wrk"
echo "----------------------------"
echo "Benchmark on rpxy"
wrk -c 512 -t 4 -d 15s http://localhost:8080
echo "sleep 3 secs"
sleep 3
echo "----------------------------"
echo "Benchmark on nginx"
wrk -c 512 -t 4 -d 15s http://localhost:8090
echo "sleep 3 secs"
sleep 3
echo "----------------------------"
echo "Benchmark on caddy"
wrk -c 512 -t 4 -d 15s http://localhost:8100
echo "sleep 3 secs"
sleep 3
echo "----------------------------"
echo "Benchmark on sozu"
wrk -c 512 -t 4 -d 15s http://localhost:8110