Skip to content

Instantly share code, notes, and snippets.

@sashka
Last active January 1, 2021 23:12
Show Gist options
  • Save sashka/5f6066ebc9fa5520b5441a1f1067d922 to your computer and use it in GitHub Desktop.
Save sashka/5f6066ebc9fa5520b5441a1f1067d922 to your computer and use it in GitHub Desktop.
gggrrpc
asd@Kanto ~/P/r/gggrrpc:master> ghz --proto=go/helloworld/hello.proto --insecure --call=helloworld.Greeter/SayHello -d '{"name":"GHZ"}' -n20000 [::1]:50051
Summary:
Count: 20000
Total: 371.59 ms
Slowest: 3.25 ms
Fastest: 0.11 ms
Average: 0.74 ms
Requests/sec: 53822.06
Response time histogram:
0.114 [1] |
0.428 [3086] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
0.742 [8458] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
1.056 [5430] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
1.370 [1799] |∎∎∎∎∎∎∎∎∎
1.684 [872] |∎∎∎∎
1.998 [282] |∎
2.312 [44] |
2.626 [23] |
2.940 [1] |
3.254 [4] |
Latency distribution:
10 % in 0.38 ms
25 % in 0.49 ms
50 % in 0.67 ms
75 % in 0.91 ms
90 % in 1.20 ms
95 % in 1.43 ms
99 % in 1.80 ms
Status code distribution:
[OK] 20000 responses
asd@Kanto ~/P/r/gggrrpc:master> ghz --proto=go/helloworld/hello.proto --insecure --call=helloworld.Greeter/SayHello -d '{"name":"GHZ"}' -n20000 [::1]:50052
Summary:
Count: 20000
Total: 575.09 ms
Slowest: 4.43 ms
Fastest: 0.63 ms
Average: 1.34 ms
Requests/sec: 34776.98
Response time histogram:
0.630 [1] |
1.010 [1001] |∎∎∎
1.390 [11900] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
1.770 [6191] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
2.151 [819] |∎∎∎
2.531 [54] |
2.911 [4] |
3.291 [9] |
3.672 [9] |
4.052 [8] |
4.432 [4] |
Latency distribution:
10 % in 1.07 ms
25 % in 1.17 ms
50 % in 1.29 ms
75 % in 1.48 ms
90 % in 1.65 ms
95 % in 1.76 ms
99 % in 2.01 ms
Status code distribution:
[OK] 20000 responses
asd@Kanto ~/P/r/gggrrpc:master> ghz --proto=go/helloworld/hello.proto --insecure --call=helloworld.Greeter/SayHello -d '{"name":"GHZ"}' -n20000 [::1]:50051
Summary:
Count: 20000
Total: 1.00 s
Slowest: 5.50 ms
Fastest: 0.21 ms
Average: 2.36 ms
Requests/sec: 19956.07
Response time histogram:
0.212 [1] |
0.740 [70] |
1.269 [606] |∎∎∎
1.797 [2516] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎
2.326 [7444] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
2.854 [5366] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
3.383 [2675] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎
3.911 [939] |∎∎∎∎∎
4.440 [286] |∎∎
4.968 [69] |
5.497 [28] |
Latency distribution:
10 % in 1.62 ms
25 % in 1.96 ms
50 % in 2.28 ms
75 % in 2.72 ms
90 % in 3.18 ms
95 % in 3.51 ms
99 % in 4.16 ms
Status code distribution:
[OK] 20000 responses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment