Sharkbench

Benchmarking programming languages and web frameworks

Express (JavaScript)
Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. It is arguably the standard server framework for Node.js, helping to manage routes of your application with its powerful middleware capabilities.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.
MedianP99
Framework
Requests per second
Latency
Stability
Memory
JavaScript (Node.js v20) / Express v4
6799
4.5 ms
39.44 %
63.1 MB
JavaScript (Node.js v18) / Express v4
3977
6.5 ms
21.05 %
66.1 MB
JavaScript (Node.js v16) / Express v4
3850
6.7 ms
20.99 %
56.7 MB
JavaScript (Node.js v14) / Express v4
4066
6.4 ms
20.16 %
57.3 MB
JavaScript (Node.js v12) / Express v4
4062
6.3 ms
19.55 %
55.4 MB
JavaScript (Bun v1) / Express v4
11004
2.3 ms
12.23 %
68.6 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. Originally developed by Netscape to add interactive elements to websites, JavaScript has become a core technology of the World Wide Web, alongside HTML and CSS, and is supported by all major browsers without the need for plugins. Node.js, a JavaScript runtime, allows for JavaScript to be used on the server-side, enabling the development of fast, scalable network applications. This versatility makes JavaScript unique in its ability to handle both client-side and server-side programming.

JavaScript web frameworks

MedianP99
Framework
Requests per second
Latency
Stability
Memory
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

© 2024 Tien Do Nam