The Computer Language
Benchmarks Game

Dart programs versus Java

by benchmark task performance

n-body
secs KB gz cpu cpu load
Dart 27.62 28,756 1420 27.81 2% 1% 1% 98%
Java 22.66 30,036 1424 22.68 97% 3% 0% 1%
fasta-redux
secs KB gz cpu cpu load
Dart 5.52 99,476 1464 5.61 1% 39% 11% 53%
Java 2.59 29,940 1443 2.65 1% 76% 1% 25%
mandelbrot
secs KB gz cpu cpu load
Dart 20.86 108,432 901 56.80 39% 99% 38% 99%
Java 6.27 88,992 796 24.24 96% 97% 97% 98%
binary-trees
secs KB gz cpu cpu load
Dart 38.82 338,260 503 52.23 60% 48% 10% 18%
Java 11.58 649,456 889 40.18 94% 85% 87% 83%
pidigits
secs KB gz cpu cpu load
Dart 11.16 49,816 321 11.23 1% 1% 1% 99%
Java 3.12 33,528 938 3.22 3% 2% 80% 21%
spectral-norm
secs KB gz cpu cpu load
Dart 15.87 27,136 486 15.98 99% 1% 1% 1%
Java 4.28 32,696 950 16.53 96% 96% 96% 99%
fasta
secs KB gz cpu cpu load
Dart 8.70 30,756 1386 8.76 99% 1% 1% 1%
Java 2.19 39,368 2457 5.60 58% 72% 66% 61%
regex-dna
secs KB gz cpu cpu load
Dart 32.86 346,092 648 34.98 89% 7% 9% 4%
Java 8.24 761,724 929 24.70 68% 73% 77% 83%
fannkuch-redux
secs KB gz cpu cpu load
Dart 98.64 39,264 495 99.21 0% 1% 1% 100%
Java 17.41 33,032 1282 68.64 98% 98% 99% 99%
reverse-complement
secs KB gz cpu cpu load
Dart 22.16 1,779,152 551 24.82 68% 20% 6% 20%
Java 1.27 315,296 1661 2.68 41% 48% 34% 92%
k-nucleotide
secs KB gz cpu cpu load
Dart 337.17 435,088 595 339.53 18% 74% 5% 6%
Java 6.60 263,468 2568 20.56 76% 76% 90% 70%
Dart

Dart VM version: 1.15.0 (Wed Mar 9 10:10:00 2016) on "linux_x64"

Java

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)