Sharkbench

Benchmarking programming languages and web frameworks

HttpServer (Dart)
HttpServer is a low-level web server class in Dart, part of the dart:io library. The HttpServer is quite basic and generally used for smaller tasks or as a component in more complex web applications. Most Dart frameworks build on top of HttpServer to provide more advanced features and abstractions.
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) / HttpServer v1
STD
7314
3.8 ms
23.99 %
15.0 MB
Dart (AOT v3.3) / HttpServer v1
STD
6818
4.1 ms
25.03 %
15.6 MB
Dart (AOT v3.2) / HttpServer v1
STD
6875
4.1 ms
24.57 %
15.5 MB
Dart (AOT v3.1) / HttpServer v1
STD
6525
4.3 ms
25.77 %
15.0 MB
Dart (AOT v3.0) / HttpServer v1
STD
6574
4.3 ms
26.14 %
18.1 MB
Dart (AOT v2.19) / HttpServer v1
STD
6534
4.3 ms
26.98 %
20.0 MB
Dart (AOT v2.18) / HttpServer v1
STD
6394
4.4 ms
27.17 %
19.8 MB
Dart (AOT v2.17) / HttpServer v1
STD
6328
4.4 ms
25.07 %
42.8 MB
Dart (AOT v2.16) / HttpServer v1
STD
6279
4.4 ms
24.90 %
43.7 MB
Dart (AOT v2.15) / HttpServer v1
STD
6246
4.5 ms
25.47 %
44.5 MB
Dart (AOT v2.14) / HttpServer v1
STD
6158
4.5 ms
25.61 %
44.6 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