fix bench

This commit is contained in:
Jun Kurihara 2022-06-28 22:23:00 -04:00
commit d71c320abe
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
2 changed files with 3 additions and 11 deletions

View file

@ -48,14 +48,6 @@ hyper-rustls = { version = "0.23.0", default-features = false, features = [
"http2", "http2",
] } ] }
parking_lot = "0.12.1" parking_lot = "0.12.1"
# hyper-trust-dns = { version = "0.4.2", default-features = false, features = [
# "rustls-http2",
# "dnssec-ring",
# "dns-over-https-rustls",
# "rustls-webpki",
# "rustls-native",
# "native-tls",
# ] }
[target.'cfg(not(target_env = "msvc"))'.dependencies] [target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.5.0" tikv-jemallocator = "0.5.0"

View file

@ -2,12 +2,12 @@
echo "----------------------------" echo "----------------------------"
echo "Benchmark on rpxy" echo "Benchmark on rpxy"
ab -c 10 -n 10000 http://127.0.0.1:8080/ # TODO: localhost = 127.0.0.1を解決できるように決めておかんとだめそう ab -c 100 -n 10000 http://127.0.0.1:8080/ # TODO: localhost = 127.0.0.1を解決できるように決めておかんとだめそう
echo "----------------------------" echo "----------------------------"
echo "Benchmark on nginx" echo "Benchmark on nginx"
ab -c 10 -n 10000 http://127.0.0.1:8090/ ab -c 100 -n 10000 http://127.0.0.1:8090/
echo "----------------------------" echo "----------------------------"
echo "Benchmark on caddy" echo "Benchmark on caddy"
ab -c 10 -n 10000 http://127.0.0.1:8100/ ab -c 100 -n 10000 http://127.0.0.1:8100/