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) |
---|---|---|---|---|
JavaScript (Node.js v20) / Nest v10 (Fastify) | 9343 | 3.3 ms | 50.15 % | 67.5 MB |
JavaScript (Node.js v20) / Nest v10 (Express) | 6352 | 4.8 ms | 41.83 % | 82.6 MB |
JavaScript (Node.js v18) / Nest v10 (Fastify) | 5056 | 5.0 ms | 17.21 % | 69.6 MB |
JavaScript (Node.js v18) / Nest v10 (Express) | 3894 | 6.7 ms | 23.05 % | 90.5 MB |
JavaScript (Node.js v16) / Nest v10 (Fastify) | 4772 | 5.3 ms | 18.04 % | 64.5 MB |
JavaScript (Node.js v16) / Nest v10 (Express) | 3779 | 6.9 ms | 22.78 % | 74.4 MB |
Framework | Requests per second (higher is better) | Latency (lower is better) | Stability (higher is better) | Memory (lower is better) |
---|---|---|---|---|
JavaScript (Bun) / Bun.serve STD | 18786 | 1.5 ms | 14.37 % | 33.3 MB |
JavaScript (Bun) / Fastify | 13401 | 2.0 ms | 13.27 % | 63.0 MB |
JavaScript (Bun) / Express | 11004 | 2.3 ms | 12.23 % | 68.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 |
JavaScript (Node.js) / Express | 6799 | 4.5 ms | 39.44 % | 63.1 MB |
JavaScript (Node.js) / Nest (Express) | 6352 | 4.8 ms | 41.83 % | 82.6 MB |