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. It provides basic HTTP server functionality that serves as a foundation for more complex web applications and frameworks. HttpServer is typically used for smaller tasks or as a component within more comprehensive Dart web frameworks.
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
Dart (AOT v3.6) / HttpServer v1
STD
11605
2.7 ms
75.15 %
14.0 MB
Dart (AOT v3.4) / HttpServer v1
STD
11217
2.8 ms
76.64 %
14.4 MB
Dart (AOT v3.2) / HttpServer v1
STD
10072
3.2 ms
78.46 %
14.7 MB
Dart (AOT v3.0) / HttpServer v1
STD
9616
3.3 ms
78.26 %
18.5 MB
Dart (AOT v2.19) / HttpServer v1
STD
9410
3.4 ms
78.28 %
18.5 MB
Dart (AOT v2.18) / HttpServer v1
STD
9381
3.4 ms
78.27 %
18.0 MB
Dart (AOT v2.16) / HttpServer v1
STD
9167
3.5 ms
77.51 %
43.2 MB
Dart (AOT v2.14) / HttpServer v1
STD
9025
3.5 ms
80.04 %
43.0 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 HttpServer 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 HttpServer 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
Dart (AOT) / HttpServer
STD
11605
2.7 ms
75.15 %
14.0 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