Sharkbench

Benchmarking programming languages and web frameworks

Fastify: Bun vs Node.js

Fastify is a high-performance Node.js web framework focused on providing low latency and high throughput by leveraging Node.js features and asynchronous I/O. It is known for its extensible plugin architecture and efficient handling of JSON-based data. Fastify offers a modern alternative to Express with better performance characteristics.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.

OS: LinuxCPU: Intel Core Ultra 5 325Last Updated: 2026-10-14

Comparison

Bun processes 1.33x requests per second compared to Node.js, a 33.45% improvement.
MedianP99
Mode
Requests per second
Latency
Stability
Memory
Build Time
19129 (+33.45 %)
1.0 ms (-41.06 %)
3.97 % (-5.97 %)
76.6 MB (-66.89 %)
3.83 s (-43.80 %)
14334
1.8 ms
9.94 %
231.3 MB
6.81 s

All results

MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
14334
1.8 ms
9.94 %
231.3 MB
6.81 s
14257
2.1 ms
34.01 %
127.1 MB
5.72 s
13720
2.2 ms
33.23 %
107.0 MB
5.49 s
9003
3.4 ms
45.59 %
106.2 MB
5.20 s
7932
3.6 ms
33.87 %
92.2 MB
4.96 s
19129
1.0 ms
3.97 %
76.6 MB
3.83 s

Popular web frameworks

How does Fastify compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
26670
1.2 ms
74.13 %
16.5 MB
26.69 s
19129
1.0 ms
3.97 %
76.6 MB
3.83 s
17041
1.5 ms
23.04 %
101.8 MB
6.09 s
15270
2.0 ms
29.45 %
228.4 MB
4.92 s
14334
1.8 ms
9.94 %
231.3 MB
6.81 s
2962
1.6 ms
1.86 %
286.4 MB
37.73 s
1640
3.4 ms
3.65 %
23.1 MB
32.20 s
792
32.9 ms
20.81 %
63.3 MB
8.55 s
320
99.9 ms
56.36 %
110.2 MB
8.94 s
279
103.8 ms
57.16 %
151.9 MB
10.29 s
92
319.0 ms
80.90 %
80.4 MB
95.22 s

© 2026 Tien Nam Do