The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

n-body
source secs KB gz cpu cpu load
Dart 27.33 28,980 1420 27.53 1% 1% 100% 1%
Java 22.53 28,212 1430 22.54 100% 7% 1% 1%
mandelbrot
source secs KB gz cpu cpu load
Dart 20.44 107,912 901 55.82 99% 38% 99% 38%
Java 7.14 88,236 796 27.93 97% 98% 98% 99%
binary-trees
source secs KB gz cpu cpu load
Dart 39.13 598,548 503 53.72 66% 33% 23% 17%
Java 11.51 622,328 889 40.10 86% 86% 92% 87%
spectral-norm
source secs KB gz cpu cpu load
Dart 15.89 31,540 486 16.01 99% 1% 1% 1%
Java 4.26 32,244 950 16.41 96% 98% 95% 97%
fasta
source secs KB gz cpu cpu load
Dart 8.73 30,552 1386 8.81 94% 2% 7% 1%
Java 2.20 37,072 2457 6.37 81% 68% 72% 72%
fannkuch-redux
source secs KB gz cpu cpu load
Dart 93.14 37,544 495 93.72 1% 1% 1% 100%
Java 17.34 30,084 1282 68.20 97% 98% 99% 99%
regex-dna
source secs KB gz cpu cpu load
Dart 27.91 350,152 648 30.63 26% 8% 70% 7%
Java 4.56 667,820 1085 12.16 60% 66% 56% 87%
reverse-complement
source secs KB gz cpu cpu load
Dart 24.59 1,731,448 551 27.32 15% 9% 44% 45%
Java 1.17 345,940 1661 2.42 41% 43% 57% 72%
k-nucleotide
source secs KB gz cpu cpu load
Dart 304.38 438,904 595 307.01 80% 1% 5% 16%
Java 8.10 469,624 1802 25.75 97% 77% 76% 71%
pidigits
source secs KB gz cpu cpu load
  No program contribute your program
Java 0.26 788 938 0.28 16% 37% 8% 54%
Dart

Dart VM version: 1.19.1 (Wed Sep 7 09:08:07 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)