Benchmarking programming languages and web frameworks
Framework | Requests per second (higher is better) | Latency (lower is better) | Memory (lower is better) |
---|---|---|---|
Rust / Axum | 14730 | 2.2 ms | 5.1 MB |
Java (Temurin) / Spring Boot (MVC) | 8951 | 1.7 ms | 205.4 MB |
JavaScript (Node.js) / Express | 6799 | 4.5 ms | 63.1 MB |
Go / Gin | 5800 | 2.0 ms | 16.3 MB |
Python / FastAPI (Uvicorn) | 1422 | 19.4 ms | 42.6 MB |
Language | Time (lower is better, custom scale) | Memory (lower is better) |
---|---|---|
Rust | 1.05 s | 376.0 KB |
C (GCC) | 1.23 s | 348.0 KB |
Java (Temurin) | 1.63 s | 20.2 MB |
JavaScript (Node.js) | 1.93 s | 10.6 MB |
Python | 126.53 s | 13.6 MB |