The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

n-body
source secs KB gz cpu cpu load
Dart 27.37 27,976 1420 27.56 1% 1% 1% 100%
Java 22.53 28,212 1430 22.54 100% 7% 1% 1%
fasta-redux
source secs KB gz cpu cpu load
Dart 5.43 79,360 1464 5.55 16% 10% 13% 65%
Java 2.53 31,648 1443 2.59 3% 98% 1% 3%
mandelbrot
source secs KB gz cpu cpu load
Dart 20.46 108,100 901 55.85 100% 99% 38% 38%
Java 7.14 88,236 796 27.93 97% 98% 98% 99%
regex-dna
source secs KB gz cpu cpu load
Dart 3.61 104,076 648 3.84 70% 28% 3% 6%
Java 1.13 138,368 1085 3.02 68% 71% 67% 74%
pidigits
source secs KB gz cpu cpu load
Dart 11.14 41,328 321 11.24 1% 94% 2% 6%
Java 3.11 33,364 938 3.20 99% 2% 2% 2%
binary-trees
source secs KB gz cpu cpu load
Dart 42.13 521,828 503 58.72 30% 70% 22% 19%
Java 11.51 622,328 889 40.10 86% 86% 92% 87%
spectral-norm
source secs KB gz cpu cpu load
Dart 15.89 30,768 457 15.97 1% 1% 6% 94%
Java 4.26 32,244 950 16.41 96% 98% 95% 97%
fasta
source secs KB gz cpu cpu load
Dart 8.76 29,504 1386 8.82 2% 95% 6% 1%
Java 2.20 37,072 2457 6.37 81% 68% 72% 72%
fannkuch-redux
source secs KB gz cpu cpu load
Dart 91.60 35,960 495 92.11 100% 1% 1% 0%
Java 13.65 31,996 1282 53.64 99% 98% 99% 98%
reverse-complement
source secs KB gz cpu cpu load
Dart 24.46 1,730,472 551 27.34 43% 11% 45% 15%
Java 1.17 345,940 1661 2.42 41% 43% 57% 72%
k-nucleotide
source secs KB gz cpu cpu load
Dart 313.10 436,268 595 315.60 55% 12% 1% 35%
Java 8.10 469,624 1802 25.75 97% 77% 76% 71%
Dart

Dart VM version: 1.18.0 (Wed Jul 27 01:52:02 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)