/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 Scala 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 Scala program.

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

† 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 Scala program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 fasta 
Dart9.849.85288,7881421  0% 95% 5% 0%
Scala6.636.4522,1361053  2% 0% 100% 1%
 binary-trees 
Dart42.3142.36153,364543  0% 0% 100% 0% †
Scala18.9314.12462,460494  13% 28% 82% 13% †
 n-body 
Dart93.4093.5338,8401297  0% 0% 0% 100%
Scala23.9723.9118,7761358  0% 1% 100% 0%
 fannkuch-redux 
Dart78.7578.776,264538  29% 0% 0% 71% †
Scala70.9218.1020,4521017  98% 98% 98% 99% †
 spectral-norm 
Dart20.0420.0538,900477  0% 0% 100% 0% †
Scala17.044.4718,772720  94% 94% 94% 99% †
 mandelbrot 
Dart88.9133.22201,932809  99% 35% 99% 34%
Scala28.227.39221,728786  95% 95% 99% 95%
 pidigits 
Dart31.5631.6138,948359  0% 0% 100% 0%
Scala4.503.9042,8321125  7% 9% 93% 9%
 reverse-complement 
Dart51.7351.691,075,468555  99% 0% 0% 1% †
Scala2.191.70489,548761  3% 4% 95% 31% †
 regex-dna 
Dart21.9521.9630,248632  0% 0% 1% 100% †
Scala1.450.7138,168668  71% 55% 51% 47% †
 fasta-redux 
No program
Scala0.420.332121372  24% 0% 94% 18%
 k-nucleotide 
No program
Scala1.621.5432,4842080  23% 49% 51% 19%

† 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 Scala 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 Scala 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:29 2013)

Home Page: Dart brings structure to web app engineering

Benchmarking the Dart VM

Revised BSD license

  Home   Conclusions   License   Play