Sharkbench

Benchmarking programming languages and web frameworks

Shelf (Dart)
Shelf is a modular Dart web server middleware framework inspired by Rack for Ruby and Connect for Node.js. It allows developers to create and compose web servers out of small pieces of middleware and handlers. It is designed to be simple and flexible, allowing for high customizability.
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
Dart (AOT v3.4) / Shelf v1
6311
4.4 ms
24.82 %
16.4 MB
Dart (AOT v3.3) / Shelf v1
5767
4.9 ms
26.77 %
16.8 MB
Dart (AOT v3.2) / Shelf v1
5643
5.0 ms
27.29 %
18.4 MB
Dart (AOT v3.1) / Shelf v1
5491
5.1 ms
27.83 %
19.7 MB
Dart (AOT v3.0) / Shelf v1
5588
5.0 ms
27.45 %
19.1 MB
Dart (AOT v2.19) / Shelf v1
5492
5.1 ms
27.95 %
18.5 MB
Dart (AOT v2.18) / Shelf v1
5463
5.1 ms
28.22 %
18.7 MB
Dart (AOT v2.17) / Shelf v1
5357
5.2 ms
27.82 %
44.8 MB
Dart (AOT v2.16) / Shelf v1
5351
5.2 ms
28.05 %
42.9 MB
Dart (AOT v2.15) / Shelf v1
5319
5.2 ms
27.95 %
43.0 MB
Dart (AOT v2.14) / Shelf v1
5317
5.3 ms
28.36 %
43.2 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 for fast apps on any platform. It is developed by Google and is optimized for building user interfaces with event-driven programming. Dart supports both just-in-time (JIT) compilation for fast development cycles and ahead-of-time (AOT) compilation for high-performance deployments. Dart is also the programming language behind Flutter, Google's UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase.

Dart web frameworks

MedianP99
Framework
Requests per second
Latency
Stability
Memory
Dart (AOT) / HttpServer
STD
7314
3.8 ms
23.99 %
15.0 MB
Dart (AOT) / Pharaoh
7229
3.9 ms
23.64 %
15.9 MB
Dart (AOT) / Serverpod (Relic)
6919
4.0 ms
24.14 %
17.5 MB
Dart (AOT) / Serinus
6831
4.1 ms
24.61 %
15.7 MB
Dart (AOT) / Vania
6710
4.1 ms
24.55 %
17.0 MB
Dart (AOT) / Shelf
6311
4.4 ms
24.82 %
16.4 MB
Dart (AOT) / Dart Frog
5875
4.8 ms
26.06 %
15.8 MB

© 2024 Tien Do Nam