/mobile Handheld Friendly website

÷

 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 JavaScript V8 program.


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 JavaScript V8 program.

 Dart used what fraction? used how many times more? 
Benchmark Time Memory Code
 fasta1/235×
 fannkuch-redux±±±
 spectral-norm±±
 n-body±
 binary-trees1/3±
 reverse-complement±
 regex-dna244×?
 Dart used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/21/2±244×

± 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 JavaScript V8 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 fasta 
Dart9.979.97291,0041421  0% 0% 0% 100%
JavaScript V819.0419.058,352791  0% 0% 0% 100%
 fannkuch-redux 
Dart82.4482.468,988538  0% 0% 0% 100%
JavaScript V878.7278.756,064539  0% 0% 0% 100%
 spectral-norm 
Dart22.3922.4141,580477  0% 1% 0% 100%
JavaScript V815.7015.718,212328  0% 0% 0% 100%
 n-body 
Dart82.7482.8641,6361297  0% 0% 0% 100%
JavaScript V843.6843.706,5761527  0% 0% 0% 100%
 binary-trees 
Dart116.55116.69252,556543  0% 0% 0% 100%
JavaScript V841.9442.02785,320467  0% 0% 0% 100%
 reverse-complement 
Dart53.8053.871,874,704555  0% 0% 0% 100%
JavaScript V813.4213.44272,120498  0% 0% 0% 100%
 regex-dna 
Dart20.0320.0446,088632  0% 0% 0% 100%
JavaScript V80.050.08?373  0% 0% 0% 100%
 k-nucleotide 
No program
JavaScript V83.183.1950,408451  0% 0% 1% 100%
 pidigits 
Dart0.820.8341,448359  0% 1% 0% 100%
No program
 mandelbrot 
Dart0.540.5436,672809  2% 0% 4% 100%
JavaScript V8Bad Output
 fasta-redux
   No programs

 4 : Are there other Dart programs for these benchmarks?

Remember - those are just the fastest Dart and JavaScript V8 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 JavaScript V8 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: 0.4.7.1_r21537 (Tue Apr 16 01:34:51 2013)

Home Page: Dart brings structure to web app engineering

Benchmarking the Dart VM

Revised BSD license

  Home   Conclusions   License   Play