diff --git a/bench/results/v2/grpc-no-conn-pool-single/bench.sh b/bench/results/v2/grpc-no-conn-pool-single/bench.sh new file mode 100755 index 0000000..af9b270 --- /dev/null +++ b/bench/results/v2/grpc-no-conn-pool-single/bench.sh @@ -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}}}"}' \ diff --git a/bench/results/v2/grpc-no-conn-pool-single/out.html b/bench/results/v2/grpc-no-conn-pool-single/out.html new file mode 100644 index 0000000..5ffc5e7 --- /dev/null +++ b/bench/results/v2/grpc-no-conn-pool-single/out.html @@ -0,0 +1,413 @@ + + + + + + + ghz + + + + + + + + + + + +
+ +
+ + +

Mon Dec 25 2023 @ 21:02:15

+ +
+
+ +
+ +
+
+ + + +
+
+
+
+ +

Summary

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Count30000
Total7.50 s
Slowest3.60 ms
Fastest0.13 ms
Average0.53 ms
Requests / sec3999.44
+
+
+
+
+
+
+
+
+ +
+
+
+ +

Histogram

+
+

+

+

+
+
+ +
+
+
+ +

Latency distribution

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
10 %25 %50 %75 %90 %95 %99 %
0.43 ms0.45 ms0.50 ms0.58 ms0.65 ms0.71 ms0.89 ms
+
+
+ +
+
+
+
+
+ +

Status distribution

+
+ + + + + + + + + + + + + + + + + +
StatusCount% of Total
OK30000100.00 %
+
+
+
+
+ + + +
+
+
+
+
+ +

Data

+
+ + JSON + CSV +
+
+
+
+ +
+ +
+
+ +

Options

+
+
+
+
{
+  "call": "dcache.DcacheService.Write",
+  "host": "localhost:9001",
+  "proto": "./proto/dcache/dcache.proto",
+  "import-paths": [
+    "proto/dcache",
+    "."
+  ],
+  "insecure": true,
+  "rps": 4000,
+  "load-schedule": "const",
+  "load-start": 0,
+  "load-end": 0,
+  "load-step": 0,
+  "load-step-duration": 0,
+  "load-max-duration": 0,
+  "concurrency": 300,
+  "concurrency-schedule": "const",
+  "concurrency-start": 0,
+  "concurrency-end": 0,
+  "concurrency-step": 1,
+  "concurrency-step-duration": 0,
+  "concurrency-max-duration": 0,
+  "total": 30000,
+  "connections": 1,
+  "timeout": 20000000000,
+  "dial-timeout": 10000000000,
+  "data": {
+    "data": "{\"AddVisitor\": \"test_1\"}"
+  },
+  "binary": false,
+  "CPUs": 12
+}
+
+
+
+
+ +
+
+
+

+ Generated by ghz +

+ +
+
+ +
+ + + + + + + +