Sharkbench

Benchmarking programming languages and web frameworks

Dart Computation Benchmark

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.

Benchmarks

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.

OS: Linux/DockerCPU: Ryzen 7 7800X3DLast Updated: 2025-05-04
Language
Time
Memory
1.79 s
94.0 MB
1.56 s
94.2 MB
1.45 s
62.6 MB
1.48 s
85.5 MB
1.45 s
56.5 MB
1.56 s
56.4 MB
1.57 s
86.4 MB
2.08 s
2.2 MB
1.86 s
2.3 MB
1.75 s
6.6 MB
1.70 s
8.2 MB
1.87 s
6.2 MB
1.81 s
6.1 MB
1.87 s
6.2 MB

Popular languages

How does Dart compare to other languages?
Language
Time
Memory
1.00 s
22.9 MB
1.02 s
584.0 KB
1.13 s
2.1 MB
1.39 s
448.0 KB
1.41 s
9.7 MB
1.79 s
94.0 MB
2.08 s
2.2 MB
3.27 s
13.4 MB
83.69 s
6.8 MB
127.69 s
16.5 MB

© 2025 Tien Do Nam