Skip to content

2021 02 26 bench results

Andrea edited this page Feb 26, 2021 · 1 revision

Benchmarked on: Google C2 compute-optimized (16 cores, 64 GB RAM, Ubuntu 20.04)

Benchmark duration per suite: 30s

1 CPU server

Thanks to MrMage for running this test.

--------------------------------------------------------------------------------------------------------------------------------
| name               |   req/s |   avg. latency |        90 % in |        95 % in |        99 % in | avg. cpu |   avg. memory |
--------------------------------------------------------------------------------------------------------------------------------
| rust_tonic_st      |   48165 |        0.99 ms |        0.80 ms |        0.91 ms |        9.62 ms |   70.26% |      4.93 MiB |
| cpp_grpc_st        |   47469 |        1.02 ms |        1.21 ms |        1.28 ms |        2.30 ms |   95.74% |      3.73 MiB |
| rust_tonic_mt      |   46231 |        1.05 ms |        1.40 ms |        1.59 ms |       10.28 ms |   86.29% |      5.06 MiB |
| rust_thruster_st   |   45417 |        1.04 ms |        0.83 ms |        0.97 ms |       16.49 ms |   69.48% |      5.84 MiB |
| rust_thruster_mt   |   43606 |        1.11 ms |        1.63 ms |        1.86 ms |        3.55 ms |   93.88% |      5.91 MiB |
| java_grpc_zgc      |   41332 |        1.16 ms |        1.14 ms |        1.39 ms |       23.72 ms |   84.15% |     104.3 MiB |
| java_grpc_pgc      |   40699 |        1.18 ms |        1.07 ms |        1.37 ms |       30.67 ms |   81.88% |    133.68 MiB |
| dotnet_grpc        |   40450 |        1.20 ms |        1.03 ms |        1.28 ms |       14.23 ms |   99.48% |     84.38 MiB |
| java_grpc_sgc      |   38610 |        1.25 ms |        1.30 ms |        1.57 ms |       24.00 ms |   88.85% |     65.34 MiB |
| java_grpc_g1gc     |   38235 |        1.26 ms |        1.22 ms |        1.62 ms |       23.66 ms |   88.07% |     87.04 MiB |
| java_grpc_she      |   37360 |        1.29 ms |        1.24 ms |        1.57 ms |       23.47 ms |   90.03% |    309.55 MiB |
| lua_grpc_st        |   32051 |        1.53 ms |        2.18 ms |        2.40 ms |        3.01 ms |  100.65% |       7.7 MiB |
| crystal_grpc       |   29652 |        1.66 ms |        0.67 ms |        0.94 ms |       43.95 ms |   91.36% |      7.57 MiB |
| node_grpc_st       |   19420 |        2.54 ms |        2.76 ms |        2.85 ms |        4.09 ms |   99.19% |     19.08 MiB |
| cpp_grpc_mt        |   17570 |        2.81 ms |        0.95 ms |        1.33 ms |       81.37 ms |   99.74% |     11.31 MiB |
| go_grpc            |   17289 |        2.85 ms |        1.07 ms |        1.59 ms |       81.06 ms |   100.0% |     15.84 MiB |
| swift_grpc         |   16364 |        3.02 ms |        3.24 ms |        3.31 ms |        5.65 ms |   99.77% |      2.92 MiB |
| java_micronaut     |   11189 |        4.43 ms |        2.74 ms |        4.90 ms |       71.79 ms |  100.05% |    138.08 MiB |
| node_grpcjs_st     |   10191 |        4.87 ms |        5.74 ms |        9.42 ms |       20.87 ms |  100.16% |     30.15 MiB |
| csharp_grpc        |    9494 |        5.22 ms |        2.52 ms |       59.81 ms |       81.41 ms |  101.25% |     79.03 MiB |
| dart_grpc          |    9145 |        5.44 ms |        3.19 ms |       46.99 ms |       65.20 ms |  100.57% |     30.46 MiB |
| kotlin_grpc        |    6981 |        7.12 ms |        3.09 ms |       75.18 ms |       81.01 ms |   100.9% |    158.72 MiB |
| java_aot           |    6577 |        7.56 ms |        3.33 ms |       82.28 ms |      105.56 ms |  101.27% |    138.64 MiB |
| elixir_grpc        |    6189 |        8.04 ms |        9.04 ms |        9.33 ms |       10.09 ms |   101.0% |     58.08 MiB |
| ruby_grpc          |    4593 |       10.79 ms |       37.24 ms |       40.09 ms |       42.22 ms |  100.51% |     23.21 MiB |
| python_grpc        |    3627 |       13.74 ms |       42.08 ms |       43.58 ms |       44.98 ms |   99.93% |      16.5 MiB |
| php_grpc           |    3009 |       16.56 ms |       88.29 ms |       88.93 ms |       89.80 ms |  101.16% |     42.83 MiB |
| scala_akka         |    1042 |       47.83 ms |       97.39 ms |      103.63 ms |      201.28 ms |   99.89% |     133.5 MiB |
--------------------------------------------------------------------------------------------------------------------------------