totally refactored
This commit is contained in:
parent
19b9f2a609
commit
907d7e574b
13 changed files with 372 additions and 252 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -25,10 +25,12 @@ services:
|
|||
build:
|
||||
context: ../
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- LOG_LEVEL=debug
|
||||
- LOG_TO_FILE=false
|
||||
ports:
|
||||
- 127.0.0.1:8080:8080
|
||||
tty: false
|
||||
privileged: true
|
||||
volumes:
|
||||
- ./rpxy.toml:/etc/rpxy.toml:ro
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue