Benchmarking programming languages and web frameworks
Framework | Requests per second (higher is better) | Latency (lower is better) | Stability (higher is better) | Memory (lower is better) |
---|---|---|---|---|
Java (Temurin) / Vert.x | 21555 | 1.4 ms | 51.78 % | 202.5 MB |
JavaScript (Bun) / Bun.serve STD | 18786 | 1.5 ms | 14.37 % | 33.3 MB |
Rust / Actix | 15421 | 2.0 ms | 55.18 % | 5.7 MB |
Rust / Hyper | 15356 | 2.1 ms | 52.74 % | 5.4 MB |
Java (Semeru) / Vert.x | 15217 | 2.0 ms | 56.80 % | 133.3 MB |
Rust / Axum | 14730 | 2.2 ms | 54.89 % | 5.1 MB |
Rust / Rocket | 13719 | 2.3 ms | 53.12 % | 6.3 MB |
JavaScript (Bun) / Fastify | 13401 | 2.0 ms | 13.27 % | 63.0 MB |
Java (OpenJDK) / Quarkus (Reactive) | 12062 | 1.4 ms | 3.21 % | 182.9 MB |
JavaScript (Bun) / Express | 11004 | 2.3 ms | 12.23 % | 68.6 MB |
Java (Temurin) / Spring Boot (WebFlux) | 10429 | 1.4 ms | 2.72 % | 187.2 MB |
Java (OpenJDK) / Quarkus (Imperative) | 10076 | 1.6 ms | 3.33 % | 186.8 MB |
Go / FastHTTP | 9774 | 1.4 ms | 2.97 % | 15.6 MB |
JavaScript (Node.js) / Fastify | 9511 | 3.3 ms | 48.22 % | 58.2 MB |
JavaScript (Node.js) / Nest (Fastify) | 9343 | 3.3 ms | 50.15 % | 67.5 MB |
Java (Temurin) / Spring Boot (MVC) | 8951 | 1.7 ms | 3.39 % | 205.4 MB |
Java (Semeru) / Spring Boot (WebFlux) | 8077 | 1.7 ms | 2.84 % | 146.9 MB |
Dart (AOT) / HttpServer STD | 7314 | 3.8 ms | 23.99 % | 15.0 MB |
Dart (AOT) / Pharaoh | 7229 | 3.9 ms | 23.64 % | 15.9 MB |
Dart (AOT) / Serverpod (Relic) | 6919 | 4.0 ms | 24.14 % | 17.5 MB |
Java (Semeru) / Spring Boot (MVC) | 6894 | 2.0 ms | 3.65 % | 145.1 MB |
Dart (AOT) / Serinus | 6831 | 4.1 ms | 24.61 % | 15.7 MB |
JavaScript (Node.js) / Express | 6799 | 4.5 ms | 39.44 % | 63.1 MB |
Dart (AOT) / Vania | 6710 | 4.1 ms | 24.55 % | 17.0 MB |
JavaScript (Node.js) / Nest (Express) | 6352 | 4.8 ms | 41.83 % | 82.6 MB |
Dart (AOT) / Shelf | 6311 | 4.4 ms | 24.82 % | 16.4 MB |
Dart (AOT) / Dart Frog | 5875 | 4.8 ms | 26.06 % | 15.8 MB |
Go / Gin | 5800 | 2.0 ms | 3.29 % | 16.3 MB |
Kotlin (Temurin) / Ktor (Netty) | 5238 | 2.6 ms | 4.20 % | 164.2 MB |
C# (.NET) / ASP.NET Core | 2939 | 7.2 ms | 13.25 % | 59.8 MB |
Python / FastAPI (Uvicorn) | 1422 | 19.4 ms | 27.29 % | 42.6 MB |
PHP / Symfony | 1226 | 9.6 ms | 12.16 % | 39.8 MB |
Python / Django (Development Server) | 949 | 23.7 ms | 25.60 % | 85.7 MB |
Python / Flask (Development Server) | 639 | 36.9 ms | 11.28 % | 24.8 MB |
PHP / Laravel | 359 | 96.4 ms | 51.93 % | 43.1 MB |
Python / Django (Uvicorn) | 272 | 107.1 ms | 44.57 % | 46.0 MB |
Python / Django (Gunicorn) | 219 | 13.7 ms | 3.78 % | 132.7 MB |
Python / Flask (Gunicorn) | 133 | 12.3 ms | 3.70 % | 88.8 MB |