Sharkbench

Benchmarking programming languages and web frameworks

Shelf (Dart)

Shelf is a modular Dart web server middleware framework inspired by Rack (Ruby) and Connect (Node.js). It allows developers to create and compose web servers from small pieces of middleware and handlers. Shelf is designed to be simple and flexible, offering high customizability for building web applications in Dart.
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
9045
3.5 ms
76.52 %
14.8 MB
8124
3.9 ms
74.47 %
14.5 MB
7763
4.0 ms
75.40 %
18.5 MB
7585
4.1 ms
76.39 %
18.4 MB
7607
4.2 ms
75.44 %
18.4 MB
7488
4.2 ms
75.82 %
43.2 MB
7442
4.3 ms
77.92 %
43.1 MB

About Dart

Paradigm

Object-Oriented, Functional, Imperative

Execution

JIT, AOT

Typing

Static

Null Safety

YES

Memory Management

Garbage Collection

Dart is a client-optimized programming language developed by Google for building user interfaces with event-driven programming. It supports both just-in-time and ahead-of-time compilation for development flexibility and deployment performance. Dart is the programming language behind Flutter, Google's UI toolkit for building applications across multiple platforms.

Dart web frameworks

How does Shelf compare other Dart frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Dart (AOT) / HttpServer
STD
11605
2.7 ms
75.15 %
14.0 MB
10423
3.0 ms
76.67 %
14.6 MB
9591
3.3 ms
76.37 %
15.1 MB
9433
3.4 ms
77.61 %
14.8 MB
9387
3.3 ms
77.44 %
16.8 MB
9045
3.5 ms
76.52 %
14.8 MB
8034
3.9 ms
74.72 %
14.9 MB

Popular web frameworks

How does Shelf compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
21030
1.6 ms
71.96 %
8.5 MB
14707
1.2 ms
2.64 %
136.5 MB
9045
3.5 ms
76.52 %
14.8 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