The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

n-body
secs KB gz cpu cpu load
Dart 38.23 20,216 1274 38.56 1% 100% 1% 1%
Java 24.31 24,156 1424 24.34 1% 1% 1% 100%
fasta-redux
secs KB gz cpu cpu load
Dart 4.96 51,148 1598 5.02 58% 62% 58% 24%
Java 1.93 24,588 1443 1.99 98% 2% 4% 3%
mandelbrot
secs KB gz cpu cpu load
Dart 20.29 74,896 901 55.20 86% 50% 39% 99%
Java 7.12 87,832 796 27.79 97% 99% 97% 97%
spectral-norm
secs KB gz cpu cpu load
Dart 16.13 17,792 489 16.28 1% 100% 1% 1%
Java 4.30 26,476 950 16.53 99% 96% 95% 96%
pidigits
secs KB gz cpu cpu load
Dart 15.77 49,984 321 15.90 2% 1% 1% 99%
Java 4.07 26,324 938 4.17 3% 3% 4% 96%
binary-trees
secs KB gz cpu cpu load
Dart 24.34 204,088 503 25.85 27% 69% 9% 2%
Java 5.88 513,180 926 19.64 95% 79% 87% 76%
fannkuch-redux
secs KB gz cpu cpu load
Dart 80.26 22,632 495 80.92 1% 1% 99% 1%
Java 17.13 25,804 1282 67.56 100% 98% 99% 98%
fasta
secs KB gz cpu cpu load
Dart 8.75 19,836 1386 8.83 34% 37% 100% 32%
Java 1.82 31,600 2457 5.90 80% 83% 80% 82%
regex-dna
secs KB gz cpu cpu load
Dart 82.67 258,312 648 83.91 2% 40% 61% 1%
Java 8.80 729,244 929 25.79 77% 80% 72% 66%
reverse-complement
secs KB gz cpu cpu load
Dart 19.32 985,104 551 19.99 80% 1% 3% 22%
Java 1.44 308,060 1661 2.91 47% 31% 85% 43%
k-nucleotide
secs KB gz cpu cpu load
Dart 264.73 329,932 595 266.66 7% 7% 53% 38%
Java 10.61 1,199,184 1844 35.27 79% 78% 90% 88%
Dart

Dart VM version: 1.12.0 (Mon Aug 31 03:14:32 2015) on "linux_ia32"

Java

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) Server VM (build 25.45-b02, mixed mode)