This commit is contained in:
parent
70ef43b720
commit
a2dd2c31f6
7
bench/results/v2/grpc-no-conn-pool-single/bench.sh
Executable file
7
bench/results/v2/grpc-no-conn-pool-single/bench.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ghz --insecure --proto ./proto/dcache/dcache.proto --call dcache.DcacheService.Write \
|
||||||
|
-c 300 -n 30000 --rps 4000 -O html -o out.html \
|
||||||
|
-d '{"data":"{\"AddVisitor\": \"test_1\"}"}' \
|
||||||
|
localhost:9001
|
||||||
|
# -d '{"data":"{\"AddCaptcha\":{\"id\":\"test_1\",\"mcaptcha\":{\"defense\":{\"current_visitor_threshold\":0,\"levels\":[{\"difficulty_factor\":500,\"visitor_threshold\":50},{\"difficulty_factor\":50000,\"visitor_threshold\":5000}]},\"duration\":30,\"visitor_threshold\":0}}}"}' \
|
413
bench/results/v2/grpc-no-conn-pool-single/out.html
Normal file
413
bench/results/v2/grpc-no-conn-pool-single/out.html
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue