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
 fannkuch-redux± 1/3
 binary-trees±1/2±
 n-body± ±
 spectral-norm± ±
 fasta ±
 mandelbrot ±
 fasta-redux ±
 k-nucleotide±1/3
 pidigits 1/3
 reverse-complement11×±
 regex-dna35×±1/2
 Dart used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±±17×35×

± 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
 fannkuch-redux 
Dart83.3783.4024,284495  1% 1% 0% 100%
Java68.8968.9119,8921282  1% 1% 1% 100%
 binary-trees 
Dart28.3228.35292,228503  1% 1% 0% 100%
Java22.9622.99448,112603  0% 0% 1% 100%
 n-body 
Dart28.3528.3618,7761420  0% 1% 0% 100%
Java22.6622.6719,5681424  0% 0% 0% 100%
 spectral-norm 
Dart22.1122.1218,152457  1% 1% 0% 100%
Java17.0917.1021,152514  0% 0% 1% 100%
 fasta 
Dart9.119.1218,6001386  1% 1% 0% 100%
Java5.375.3720,8881507  0% 1% 1% 100%
 mandelbrot 
Dart57.2857.3076,480901  1% 1% 0% 100%
Java23.8123.8272,688796  0% 1% 0% 100%
 fasta-redux 
Dart7.637.6480,2441464  1% 1% 0% 100%
Java2.602.6119,9001443  1% 0% 1% 100%
 k-nucleotide 
Dart308.43308.68518,324595  0% 1% 1% 100%
Java48.5748.61505,8401602  0% 0% 1% 100%
 pidigits 
Dart26.5826.6129,516321  1% 1% 0% 100%
Java3.143.1423,224938  0% 1% 2% 100%
 reverse-complement 
Dart20.0920.121,795,932551  1% 1% 0% 100%
Java1.861.87517,532745  0% 1% 1% 100%
 regex-dna 
Dart21.0921.1122,644648  0% 1% 0% 100%
Java0.590.6022,7801284  0% 3% 0% 98%

 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 14:02:07 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