The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

n-body
source secs mem gz cpu cpu load
Dart 27.50 52,272 1420 27.64 1% 1% 0% 100%
Java 21.54 27,092 1489 21.56 1% 1% 100% 1%
regex-redux
source secs mem gz cpu cpu load
Dart 29.93 460,276 656 32.08 27% 7% 39% 37%
Java 12.31 902,528 929 38.75 73% 76% 86% 81%
mandelbrot
source secs mem gz cpu cpu load
Dart 20.54 101,064 901 56.00 99% 39% 99% 38%
Java 7.10 90,588 796 27.92 99% 99% 98% 98%
binary-trees
source secs mem gz cpu cpu load
Dart 37.72 555,108 457 48.13 25% 22% 56% 26%
Java 11.26 593,156 835 39.02 85% 88% 90% 88%
spectral-norm
source secs mem gz cpu cpu load
Dart 15.92 51,380 457 16.04 1% 100% 1% 1%
Java 4.29 29,884 950 16.56 96% 97% 99% 95%
pidigits
source secs mem gz cpu cpu load
Dart 11.62 69,416 594 11.77 17% 8% 94% 12%
Java 3.06 31,760 938 3.16 6% 3% 97% 1%
fasta
source secs mem gz cpu cpu load
Dart 8.11 54,704 1386 8.20 1% 2% 98% 2%
Java 2.13 36,036 2457 5.66 94% 58% 59% 60%
k-nucleotide
source secs mem gz cpu cpu load
Dart 32.73 2,115,796 2455 90.04 63% 66% 72% 77%
Java 7.93 465,372 1802 25.11 75% 75% 75% 93%
fannkuch-redux
source secs mem gz cpu cpu load
Dart 91.24 50,668 495 91.60 36% 1% 0% 65%
Java 13.74 30,368 1282 54.12 100% 98% 98% 99%
reverse-complement
source secs mem gz cpu cpu load
Dart 23.60 1,717,368 551 29.00 25% 22% 24% 54%
Java 1.10 345,352 1661 2.40 33% 82% 53% 54%
Dart

Dart VM version: 1.24.2 (Thu Jun 22 08:43:26 2017) on "linux_x64"

Java

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)