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 ±
 binary-trees †1/3±
 mandelbrot ±
 fasta-redux ±
 fannkuch-redux † 1/3
 spectral-norm † 1/2
 fasta † 1/2
 pidigits10× 1/3
 reverse-complement †12×1/3
 k-nucleotide †27×1/31/3
 regex-dna †56×±±
 Dart used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)11×22×56×

† 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 
Dart37.1436.8612,9921274  1% 0% 100% 1%
Java24.5024.4815,6561424  0% 100% 1% 0%
 binary-trees 
Dart22.9222.78181,452503  89% 1% 11% 1% †
Java17.7512.78471,136584  77% 15% 15% 34% †
 mandelbrot 
Dart52.6019.3675,276901  38% 98% 39% 97%
Java27.176.9573,488796  97% 97% 99% 98%
 fasta-redux 
Dart5.925.8943,3281464  1% 1% 99% 2%
Java2.031.9815,8961443  82% 19% 2% 2%
 fannkuch-redux 
Dart79.4479.0814,528495  1% 1% 1% 100% †
Java68.0417.2515,6961282  99% 99% 97% 99% †
 spectral-norm 
Dart22.0421.9415,244457  0% 1% 100% 1% †
Java16.564.2916,460950  96% 96% 99% 96% †
 fasta 
Dart9.459.3818,7881386  1% 1% 100% 1% †
Java5.341.7229,4842457  69% 75% 73% 96% †
 pidigits 
Dart39.5239.2740,396321  1% 0% 100% 1%
Java4.154.0418,352938  16% 84% 1% 1%
 reverse-complement 
Dart19.4418.961,174,880551  2% 1% 100% 2% †
Java3.161.63296,1361661  77% 24% 39% 58% †
 k-nucleotide 
Dart287.74285.80345,924595  1% 3% 3% 96% †
Java35.1710.411,200,4801844  82% 90% 89% 78% †
 regex-dna 
Dart23.5323.3620,976648  1% 0% 1% 100% †
Java1.080.4225,684929  55% 61% 57% 90% †

† 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.6.0 (Tue Aug 26 13:57:28 2014) on "linux_ia32"

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