Skip to main content

New site for Dart news and articles

For the latest Dart news, visit our new blog at .

Let's Get Ready to Benchmark!

Today the Dart team released the official Dart benchmark harness. This harness is an absolute requirement if you’re benchmarking Dart. Conveniently, the benchmark harness is available as a pub package.

The harness includes a template benchmark that you can copy and paste into your own project. Also included are two benchmarks that the Dart team uses internally to measure Dart’s performance: DeltaBlue and Richards. These are Dart variants of the same benchmarks in the JavaScript benchmark suite, Octane.

To use the benchmark harness in your own code, simply add the following dependency to your Dart application, by updating your pubspec.yaml file:

  benchmark_harness: ">=1.0.0 <2.0.0"  

For more details on benchmarking Dart, check out the in-depth article. As always, we encourage you to join our mailing list and let us know what you think!

(image courtesy of