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: LinuxCPU: Intel Core Ultra 5 325Last Updated: 2026-10-14
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
Dart (AOT v3.6) / HttpServer v1
STD
13544
2.0 ms
14.86 %
29.7 MB
4.80 s
Dart (AOT v3.4) / HttpServer v1
STD
12993
2.1 ms
16.01 %
31.3 MB
4.92 s
Dart (AOT v3.2) / HttpServer v1
STD
11861
2.4 ms
18.55 %
32.5 MB
5.08 s
Dart (AOT v3.0) / HttpServer v1
STD
11824
2.4 ms
21.09 %
26.7 MB
6.03 s
Dart (AOT v2.19) / HttpServer v1
STD
11069
2.6 ms
23.39 %
27.3 MB
5.80 s
Dart (AOT v2.18) / HttpServer v1
STD
10820
2.7 ms
24.12 %
26.8 MB
5.62 s
Dart (AOT v2.16) / HttpServer v1
STD
10704
2.7 ms
26.00 %
51.8 MB
5.91 s
Dart (AOT v2.14) / HttpServer v1
STD
10493
2.8 ms
25.92 %
52.1 MB
6.08 s

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 to other Dart frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
Dart (AOT) / HttpServer
STD
13544
2.0 ms
14.86 %
29.7 MB
4.80 s
12746
2.2 ms
18.44 %
20.8 MB
12.39 s
12323
2.2 ms
18.47 %
24.9 MB
7.66 s
12097
2.4 ms
21.25 %
21.3 MB
7.21 s
11801
2.4 ms
18.14 %
27.6 MB
10.14 s
11224
2.3 ms
10.62 %
28.2 MB
6.69 s
10534
2.7 ms
24.06 %
21.4 MB
6.69 s
9189
3.0 ms
25.98 %
22.2 MB
27.13 s

Popular web frameworks

How does HttpServer compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
26670
1.2 ms
74.13 %
16.5 MB
26.69 s
17041
1.5 ms
23.04 %
101.8 MB
6.09 s
15270
2.0 ms
29.45 %
228.4 MB
4.92 s
Dart (AOT) / HttpServer
STD
13544
2.0 ms
14.86 %
29.7 MB
4.80 s
2962
1.6 ms
1.86 %
286.4 MB
37.73 s
1640
3.4 ms
3.65 %
23.1 MB
32.20 s
792
32.9 ms
20.81 %
63.3 MB
8.55 s
320
99.9 ms
56.36 %
110.2 MB
8.94 s
279
103.8 ms
57.16 %
151.9 MB
10.29 s
92
319.0 ms
80.90 %
80.4 MB
95.22 s

© 2026 Tien Nam Do