📊 Benchmarks
TechEmpower
TechEmpower provides a performance comparison of many web application frameworks that execute fundamental tasks such as JSON serialization, database access, and server-side template rendering.
Each framework runs under a realistic production configuration. Results are recorded on both cloud instances and physical hardware. The test implementations are community contributed and live in the FrameworkBenchmarks repository.
- Fiber
v2.52.5
- 56 Cores Intel(R) Xeon(R) Gold 6330 CPU @ 2.00GHz (Three homogeneous ProLiant DL360 Gen10 Plus)
- 64GB RAM
- Enterprise SSD
- Ubuntu
- Mellanox Technologies MT28908 Family ConnectX-6 40Gbps Ethernet
Plaintext
The Plaintext test measures basic request routing and demonstrates the capacity of high-performance platforms. Requests are pipelined, and the tiny response body demands high throughput to saturate the benchmark's gigabit Ethernet.
Fiber - 13,509,592 responses per second with an average latency of 0.9 ms.
Express - 279,922 responses per second with an average latency of 551.3 ms.
Data Updates
Fiber handled 30,884 responses per second with an average latency of 16.5 ms.
Express handled 50,818 responses per second with an average latency of 10.1 ms.
Multiple Queries
Fiber handled 55,577 responses per second with an average latency of 9.2 ms.
Express handled 62,036 responses per second with an average latency of 8.3 ms.
Single Query
Fiber handled 1,000,519 responses per second with an average latency of 0.5 ms.
Express handled 214,177 responses per second with an average latency of 2.5 ms.
JSON Serialization
Fiber handled 2,479,768 responses per second with an average latency of 0.2 ms.
Express handled 301,213 responses per second with an average latency of 2.0 ms.