Sharkbench

Benchmarking programming languages and web frameworks

Bun.serve (JavaScript)

Bun.serve is a component of the Bun JavaScript runtime, package manager, and bundler ecosystem. It is specifically designed for handling HTTP requests with high performance and simplicity. Bun.serve enables developers to create modern web applications with minimal configuration and maximum speed.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.

OS: Linux/DockerCPU: Ryzen 7 7800X3DLast Updated: 2025-05-04
MedianP99
Framework
Requests per second
Latency
Stability
Memory
JavaScript (Bun v1) / Bun.serve v1
STD
22303
1.2 ms
10.35 %
24.5 MB

About JavaScript

Paradigm

Object-Oriented, Imperative, Functional

Execution

Interpreted

Typing

Dynamic

Null Safety

NO

Memory Management

Garbage Collection

JavaScript is a high-level, dynamic programming language that conforms to the ECMAScript specification and has become a core technology of the World Wide Web. It enables interactive web elements and is supported by all major browsers without plugins. JavaScript can also be used on the server-side through Node.js for developing network applications.

JavaScript web frameworks

How does Bun.serve compare other JavaScript frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
JavaScript (Bun) / Bun.serve
STD
22303
1.2 ms
10.35 %
24.5 MB
20683
1.3 ms
9.20 %
49.8 MB
19821
1.3 ms
7.41 %
52.7 MB
19486
1.4 ms
10.11 %
50.7 MB
9340
3.4 ms
63.19 %
57.0 MB
9164
3.5 ms
65.32 %
66.7 MB
8828
3.6 ms
64.84 %
53.3 MB
6912
4.4 ms
51.36 %
129.7 MB
6088
5.0 ms
54.97 %
130.7 MB
5766
5.5 ms
64.50 %
82.5 MB
5395
5.9 ms
63.90 %
105.5 MB

Popular web frameworks

How does Bun.serve compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
JavaScript (Bun) / Bun.serve
STD
22303
1.2 ms
10.35 %
24.5 MB
21030
1.6 ms
71.96 %
8.5 MB
14707
1.2 ms
2.64 %
136.5 MB
5766
5.5 ms
64.50 %
82.5 MB
3546
1.0 ms
1.14 %
16.7 MB
1185
21.0 ms
21.21 %
41.2 MB
1105
1.7 ms
1.67 %
596.8 MB
1092
7.7 ms
9.22 %
90.3 MB
950
8.8 ms
10.33 %
130.1 MB
299
101.7 ms
56.47 %
84.2 MB

© 2025 Tien Do Nam