The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

spectral-norm
source secs KB gz cpu cpu load
Dart 16.23 20,224 457 16.22 1% 0% 1% 100%
Java 16.30 23,872 950 16.29 1% 0% 1% 100%
fannkuch-redux
source secs KB gz cpu cpu load
Dart 86.30 22,988 495 86.27 1% 1% 1% 100%
Java 67.56 23,480 1282 67.53 1% 1% 1% 100%
fasta
source secs KB gz cpu cpu load
Dart 8.84 19,896 1386 8.83 0% 1% 1% 100%
Java 4.77 23,400 1507 4.76 1% 1% 1% 100%
n-body
source secs KB gz cpu cpu load
Dart 46.81 21,196 1420 46.80 0% 1% 1% 100%
Java 24.07 23,184 1430 24.06 1% 1% 1% 100%
binary-trees
source secs KB gz cpu cpu load
Dart 32.47 205,756 503 32.44 1% 1% 1% 100%
Java 16.53 511,692 584 16.51 1% 1% 0% 100%
mandelbrot
source secs KB gz cpu cpu load
Dart 55.45 73,824 901 55.42 1% 0% 1% 100%
Java 27.41 55,556 796 27.40 1% 0% 1% 100%
fasta-redux
source secs KB gz cpu cpu load
Dart 5.22 89,524 1464 5.22 1% 1% 1% 100%
Java 1.89 23,120 1443 1.88 2% 2% 0% 100%
pidigits
source secs KB gz cpu cpu load
Dart 16.23 52,216 321 16.20 1% 0% 0% 100%
Java 4.14 25,988 938 4.13 1% 1% 0% 100%
regex-dna
source secs KB gz cpu cpu load
Dart 92.39 263,996 648 92.35 0% 1% 1% 100%
Java 22.35 623,244 740 22.34 1% 1% 0% 100%
k-nucleotide
source secs KB gz cpu cpu load
Dart 330.68 331,908 595 330.50 1% 1% 1% 100%
Java 47.14 516,280 1602 47.10 1% 1% 1% 100%
reverse-complement
source secs KB gz cpu cpu load
Dart 23.74 1,040,764 551 23.72 1% 0% 1% 100%
Java 1.79 521,988 745 1.78 1% 2% 2% 100%
Dart

Dart VM version: 1.15.0 (Wed Mar 9 10:03:07 2016) on "linux_ia32"

Java

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