/mobile Handheld Friendly website

vs

 1 : Are the Dart programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Dart program used compared to the fastest Java program.

(Memory use is only compared for tasks that require memory to be allocated.)


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the Dart programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Dart program used compared to the fastest Java program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Dart used what fraction? used how many times more? 
Benchmark Time Memory Code
 n-body± ±
 fasta ±
 mandelbrot ±
 binary-trees †1/2±
 fasta-redux ±
 fannkuch-redux † 1/3
 spectral-norm † 1/2
 pidigits 1/3
 reverse-complement †15×1/3
 regex-dna †55×52×±
 Dart used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±18×55×

† possible mismatch - one-core program compared to multi-core program.

± read the measurements and then read the program source code.

 3 : Are the Dart programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest Dart program are shown for comparison against measurements of the fastest Java program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 n-body 
Dart30.4330.3112,4201274  1% 0% 1% 100%
Java22.9022.8719,5721424  99% 1% 1% 1%
 fasta 
Dart9.209.16293,7321386  1% 0% 1% 99%
Java5.375.2820,6681507  1% 70% 1% 31%
 mandelbrot 
Dart56.8220.8694,328901  37% 98% 39% 99%
Java27.847.1162,344796  98% 97% 98% 100%
 binary-trees 
Dart51.3951.06193,596503  1% 1% 1% 100% †
Java24.8914.48390,708584  34% 73% 38% 30% †
 fasta-redux 
Dart9.299.26288,5881464  1% 1% 1% 99%
Java2.632.5819,9601443  77% 1% 24% 2%
 fannkuch-redux 
Dart82.8582.5216,852495  1% 0% 0% 100% †
Java70.0617.7319,7201282  99% 99% 98% 99% †
 spectral-norm 
Dart22.0021.8911,800457  1% 1% 100% 0% †
Java17.804.5921,132950  97% 96% 99% 96% †
 pidigits 
Dart26.9026.7644,240321  0% 1% 1% 100%
Java3.173.0323,504938  19% 80% 5% 3%
 reverse-complement 
Dart21.8121.641,759,872551  2% 96% 3% 1% †
Java2.971.47300,7121661  47% 37% 78% 43% †
 regex-dna 
Dart22.1922.1022,240648  1% 0% 1% 100% †
Java0.960.40428929  55% 82% 46% 59% †
 k-nucleotide 
No program
Java1.800.6126,4961602  68% 63% 76% 92%

† possible mismatch - one-core program compared to multi-core program.

 4 : Are there other Dart programs for these benchmarks?

Remember - those are just the fastest Dart and Java programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Dart.

Maybe one of those other Dart programs is fastest on a different OS/machine.

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Dart and Java programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 Dart : structured web app engineering 

Dart VM version: 1.2.0 (Tue Feb 25 07:34:09 2014) on "linux_x64"

Home Page: Dart brings structure to web app engineering

Building an optimizing compiler for Dart

Benchmarking the Dart VM

Revised BSD license

  Home   Conclusions   License   Play