The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

spectral-norm
secs KB gz cpu cpu load
Dart 16.23 20,224 457 16.22 1% 0% 1% 100%
Java 16.37 26,876 950 16.36 1% 1% 0% 100%
fannkuch-redux
secs KB gz cpu cpu load
Dart 86.30 22,988 495 86.27 1% 1% 1% 100%
Java 67.66 26,644 1282 67.63 1% 1% 0% 100%
fasta
secs KB gz cpu cpu load
Dart 8.84 19,896 1386 8.83 0% 1% 1% 100%
Java 4.81 24,836 1507 4.80 1% 1% 0% 100%
n-body
secs KB gz cpu cpu load
Dart 46.81 21,196 1420 46.80 0% 1% 1% 100%
Java 24.33 24,036 1424 24.32 1% 0% 0% 100%
binary-trees
secs KB gz cpu cpu load
Dart 32.47 205,756 503 32.44 1% 1% 1% 100%
Java 16.35 526,588 584 16.33 1% 1% 0% 100%
mandelbrot
secs KB gz cpu cpu load
Dart 55.45 73,824 901 55.42 1% 0% 1% 100%
Java 27.19 88,448 796 27.18 1% 0% 1% 100%
fasta-redux
secs KB gz cpu cpu load
Dart 5.22 89,524 1464 5.22 1% 1% 1% 100%
Java 2.05 24,576 1443 2.04 1% 0% 0% 100%
pidigits
secs KB gz cpu cpu load
Dart 16.23 52,216 321 16.20 1% 0% 0% 100%
Java 4.14 26,616 938 4.14 2% 0% 1% 100%
regex-dna
secs KB gz cpu cpu load
Dart 92.39 263,996 648 92.35 0% 1% 1% 100%
Java 20.80 567,404 1284 20.79 0% 0% 1% 100%
reverse-complement
secs KB gz cpu cpu load
Dart 23.74 1,040,764 551 23.72 1% 0% 1% 100%
Java 1.80 522,620 745 1.80 3% 1% 1% 99%
k-nucleotide
secs KB gz cpu cpu load
Dart 330.68 331,908 595 330.50 1% 1% 1% 100%
Java 23.60 257,300 2568 23.58 0% 0% 1% 100%
Dart

Dart VM version: 1.15.0 (Wed Mar 9 10:03:07 2016) 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)