Benchmarking programming languages and web frameworks

Dart Computation Benchmark

About Dart


Object-Oriented, Functional, Imperative





Null Safety


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.


This benchmark tests how fast a programming language can perform mathematical computations without any I/O or memory allocation. We are using the Leibniz formula to approximate the value of PI.
Please note that the memory usage also includes the memory used by the HTTP server. Ideally, the most lightweight HTTP server should be used to measure the raw memory usage of the runtime.
Dart (JIT v3.4)
2.02 s
99.1 MB
Dart (JIT v3.2)
2.01 s
94.7 MB
Dart (JIT v3.0)
2.08 s
60.5 MB
Dart (JIT v2.19)
2.02 s
64.9 MB
Dart (JIT v2.18)
2.00 s
85.0 MB
Dart (JIT v2.16)
2.01 s
86.0 MB
Dart (JIT v2.14)
2.00 s
113.3 MB
Dart (AOT v3.4)
2.10 s
2.3 MB
Dart (AOT v3.2)
2.07 s
2.3 MB
Dart (AOT v3.0)
1.93 s
6.1 MB
Dart (AOT v2.19)
1.93 s
6.0 MB
Dart (AOT v2.18)
1.88 s
6.1 MB
Dart (AOT v2.16)
2.03 s
6.2 MB
Dart (AOT v2.14)
2.00 s
6.2 MB

© 2024 Tien Do Nam