The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

n-body
secs KB gz cpu cpu load
Dart 27.58 28,080 1420 27.77 0% 1% 1% 100%
Java 22.66 30,036 1424 22.68 97% 3% 0% 1%
fasta-redux
secs KB gz cpu cpu load
Dart 5.43 89,968 1464 5.51 2% 1% 24% 76%
Java 2.59 29,940 1443 2.65 1% 76% 1% 25%
mandelbrot
secs KB gz cpu cpu load
Dart 20.93 87,944 901 56.78 99% 72% 65% 37%
Java 6.27 88,992 796 24.24 96% 97% 97% 98%
pidigits
secs KB gz cpu cpu load
Dart 11.20 41,920 321 11.30 99% 1% 1% 1%
Java 3.12 33,528 938 3.22 3% 2% 80% 21%
spectral-norm
secs KB gz cpu cpu load
Dart 15.89 27,440 486 16.03 0% 1% 1% 99%
Java 4.28 32,696 950 16.53 96% 96% 96% 99%
regex-dna
secs KB gz cpu cpu load
Dart 32.68 335,664 648 33.64 1% 99% 1% 3%
Java 8.24 761,724 929 24.70 68% 73% 77% 83%
fasta
secs KB gz cpu cpu load
Dart 8.97 29,448 1386 9.05 99% 1% 1% 1%
Java 2.19 39,368 2457 5.60 58% 72% 66% 61%
binary-trees
secs KB gz cpu cpu load
Dart 30.55 335,732 503 33.22 77% 11% 2% 21%
Java 6.20 524,828 926 20.90 87% 91% 82% 80%
fannkuch-redux
secs KB gz cpu cpu load
Dart 88.66 36,392 495 89.28 1% 11% 90% 1%
Java 17.41 33,032 1282 68.64 98% 98% 99% 99%
reverse-complement
secs KB gz cpu cpu load
Dart 19.27 1,765,132 551 19.84 18% 2% 2% 82%
Java 1.27 315,296 1661 2.68 41% 48% 34% 92%
k-nucleotide
secs KB gz cpu cpu load
Dart 290.04 429,148 595 292.15 2% 37% 61% 3%
Java 11.29 1,118,288 1844 38.66 83% 97% 82% 82%
Dart

Dart VM version: 1.12.2 (Wed Oct 21 07:18:28 2015) on "linux_x64"

Java

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