fix bench
This commit is contained in:
parent
3e850e8410
commit
d71c320abe
2 changed files with 3 additions and 11 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue