Skip to content

2020.07.24 bench results

LesnyRumcajs edited this page Jul 25, 2020 · 1 revision

Benchmarked on: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz, 32G RAM

1 CPU Server

----------------------------------------------------------------------------
| name               |   req/s |   avg. latency | avg. cpu |   avg. memory |
----------------------------------------------------------------------------
| rust_tonic_st      |   47821 |        0.99 ms |   95.65% |      4.61 MiB |
| rust_tonic_mt      |   33731 |        1.43 ms |   96.28% |      4.62 MiB |
| cpp_grpc_st        |   30271 |        1.60 ms |   96.22% |      3.14 MiB |
| lua_grpc_st        |   18849 |        2.61 ms |   96.09% |     13.61 MiB |
| node_grpc_st       |   11896 |        4.11 ms |   96.09% |      43.7 MiB |
| go_grpc            |   11805 |        4.16 ms |   95.65% |     13.29 MiB |
| java_grpc          |   11754 |        4.18 ms |  102.22% |     230.6 MiB |
| java_micronaut     |   10972 |        3.09 ms |   96.36% |    282.57 MiB |
| cpp_grpc_mt        |   10782 |        4.56 ms |  101.19% |      8.09 MiB |
| rust_thruster      |    7311 |        6.77 ms |   31.49% |      1.84 MiB |
| dart_grpc          |    6870 |        7.22 ms |  101.96% |     29.49 MiB |
| kotlin_grpc        |    6482 |        7.64 ms |  101.74% |    220.65 MiB |
| csharp_grpc        |    5602 |        8.85 ms |  101.61% |     70.47 MiB |
| swift_grpc_st      |    4611 |       10.75 ms |   95.03% |      3.98 MiB |
| java_aot           |    3397 |       14.63 ms |   96.11% |    324.53 MiB |
| php_grpc           |    1975 |       25.23 ms |  101.28% |     37.62 MiB |
| ruby_grpc          |    1973 |       25.23 ms |   96.68% |     17.68 MiB |
| crystal_grpc       |    1866 |       26.68 ms |   13.87% |      5.96 MiB |
| elixir_grpc        |    1326 |       37.60 ms |  101.09% |     75.36 MiB |
| python_grpc        |    1248 |       39.95 ms |   96.14% |     19.02 MiB |
| scala_akka         |     691 |       72.22 ms |  101.12% |    260.56 MiB |
----------------------------------------------------------------------------

3 CPU Server (it's the best we could do with our resources, still it was not enough to properly stress all implementations)

----------------------------------------------------------------------------
| name               |   req/s |   avg. latency | avg. cpu |   avg. memory |
----------------------------------------------------------------------------
| rust_tonic_mt      |   51210 |        0.93 ms |   255.3% |      5.39 MiB |
| rust_tonic_st      |   48696 |        0.97 ms |    95.7% |      4.55 MiB |
| go_grpc            |   47843 |        0.99 ms |  292.29% |     14.21 MiB |
| cpp_grpc_mt        |   46081 |        1.03 ms |  297.24% |      9.33 MiB |
| java_micronaut     |   34111 |        1.41 ms |   291.0% |    558.64 MiB |
| java_grpc          |   33922 |        1.42 ms |   307.2% |    558.28 MiB |
| cpp_grpc_st        |   29700 |        1.64 ms |   96.23% |      3.34 MiB |
| csharp_grpc        |   27558 |        1.76 ms |  308.48% |     75.01 MiB |
| kotlin_grpc        |   24137 |        2.01 ms |  307.28% |    181.63 MiB |
| lua_grpc_st        |   18662 |        2.63 ms |   95.89% |     12.49 MiB |
| java_aot           |   14313 |        3.42 ms |  288.54% |    336.01 MiB |
| node_grpc_st       |   12047 |        4.06 ms |   99.41% |     44.03 MiB |
| dart_grpc          |    8200 |        6.04 ms |  110.36% |     29.78 MiB |
| php_grpc           |    7974 |        6.21 ms |  309.21% |     39.47 MiB |
| scala_akka         |    7396 |        6.69 ms |  305.86% |     441.0 MiB |
| rust_thruster      |    7003 |        7.06 ms |   78.69% |      2.15 MiB |
| elixir_grpc        |    5728 |        8.65 ms |  304.71% |     78.67 MiB |
| swift_grpc_st      |    4609 |       10.75 ms |   95.63% |      3.84 MiB |
| ruby_grpc          |    2662 |       18.68 ms |  127.92% |     17.79 MiB |
| python_grpc        |    1849 |       26.94 ms |  138.37% |     18.87 MiB |
| crystal_grpc       |    1849 |       26.93 ms |   13.84% |       5.8 MiB |
----------------------------------------------------------------------------