The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

n-body
source secs KB gz cpu cpu load
Dart 27.32 48,564 1420 27.50 0% 100% 1% 1%
Java 22.53 28,212 1430 22.54 100% 7% 1% 1%
mandelbrot
source secs KB gz cpu cpu load
Dart 20.45 100,564 901 55.80 38% 99% 37% 99%
Java 7.14 88,236 796 27.93 97% 98% 98% 99%
binary-trees
source secs KB gz cpu cpu load
Dart 42.55 355,172 503 60.50 26% 28% 29% 60%
Java 11.51 622,328 889 40.10 86% 86% 92% 87%
spectral-norm
source secs KB gz cpu cpu load
Dart 15.89 48,720 457 15.97 1% 1% 1% 99%
Java 4.26 32,244 950 16.41 96% 98% 95% 97%
fasta
source secs KB gz cpu cpu load
Dart 8.74 52,300 1386 8.82 99% 1% 1% 1%
Java 2.20 37,072 2457 6.37 81% 68% 72% 72%
fannkuch-redux
source secs KB gz cpu cpu load
Dart 93.18 46,492 495 93.65 1% 1% 0% 100%
Java 17.34 30,084 1282 68.20 97% 98% 99% 99%
regex-dna
source secs KB gz cpu cpu load
Dart 27.39 355,972 648 29.47 7% 9% 88% 5%
Java 4.56 667,820 1085 12.16 60% 66% 56% 87%
reverse-complement
source secs KB gz cpu cpu load
Dart 20.94 1,726,252 551 23.65 42% 28% 33% 15%
Java 1.17 345,940 1661 2.42 41% 43% 57% 72%
k-nucleotide
source secs KB gz cpu cpu load
Dart 309.21 441,596 595 310.95 79% 11% 4% 8%
Java 8.10 469,624 1802 25.75 97% 77% 76% 71%
pidigits
source secs KB gz cpu cpu load
  No program contribute your program
Java 0.26 788 938 0.28 16% 37% 8% 54%
Dart

Dart VM version: 1.20.1 (Wed Oct 12 15:07:10 2016) on "linux_x64"

Java

java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)