Sharkbench

Benchmarking programming languages and web frameworks

Koa: Bun vs Deno vs Node.js

Koa is a lightweight and expressive web framework for Node.js created by the team behind Express. It leverages JavaScript's async functions to eliminate callbacks and improve error handling. Koa provides an elegant middleware architecture that processes requests downstream and manipulates responses upstream. Unlike Express, Koa doesn't bundle any middleware in its core or provide built-in routing, emphasizing modularity and giving developers greater flexibility in their component choices.
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 3.41x requests per second compared to Deno, a 240.98% improvement.
MedianP99
Mode
Requests per second
Latency
Stability
Memory
Build Time
19071 (+49.71 %)
1.0 ms (-60.12 %)
3.22 % (-30.89 %)
75.7 MB (-25.60 %)
3.09 s (-34.79 %)
12739
2.4 ms
34.10 %
101.8 MB
4.73 s
5593 (-56.10 %)
4.6 ms (+91.30 %)
16.16 % (-17.94 %)
153.1 MB (+50.39 %)
3.72 s (-21.46 %)

All results

MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
16795
1.8 ms
31.25 %
232.8 MB
5.76 s
13338
2.3 ms
33.09 %
123.7 MB
5.68 s
12739
2.4 ms
34.10 %
101.8 MB
4.73 s
12941
2.4 ms
35.03 %
105.8 MB
4.96 s
5593
4.6 ms
16.16 %
153.1 MB
3.72 s
5698
4.5 ms
16.70 %
147.8 MB
4.14 s
19071
1.0 ms
3.22 %
75.7 MB
3.09 s
19331
0.9 ms
3.12 %
74.7 MB
3.56 s

Popular web frameworks

How does Koa 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
19071
1.0 ms
3.22 %
75.7 MB
3.09 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
12739
2.4 ms
34.10 %
101.8 MB
4.73 s
5593
4.6 ms
16.16 %
153.1 MB
3.72 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