/mobile Handheld Friendly website

÷

 1 : Are the F# Mono programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest F# Mono 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 F# Mono programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest F# Mono program used compared to the fastest Scala program.

 F# Mono used what fraction? used how many times more? 
Benchmark Time Memory Code
 fasta-redux±±±
 pidigits±1/3±
 n-body±±±
 fasta±±
 mandelbrot1/4±
 spectral-norm±
 regex-dna±
 fannkuch-redux±1/2
 binary-trees1/4±
 k-nucleotide1/3
 F# Mono used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±±

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

 3 : Are the F# Mono 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 F# Mono 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-redux 
F# Mono3.323.3316,4641074  0% 0% 0% 100%
Scala4.294.3023,4281372  0% 1% 0% 100%
 pidigits 
F# Mono3.963.9715,220903  1% 1% 0% 100%
Scala4.444.4544,0441125  0% 0% 0% 100%
 n-body 
F# Mono34.9334.9417,9481259  1% 0% 0% 100%
Scala23.9123.9118,7561358  0% 0% 0% 100%
 fasta 
F# Mono10.6110.6115,132978  1% 0% 0% 100%
Scala6.546.5519,5881053  0% 1% 0% 100%
 mandelbrot 
F# Mono47.5647.5748,464800  0% 0% 0% 100%
Scala28.0128.03195,456786  0% 0% 0% 100%
 spectral-norm 
F# Mono29.7430.5816,428852  0% 0% 0% 97%
Scala16.5216.5318,484404  0% 1% 0% 100%
 regex-dna 
F# Mono66.2666.422,752,712639  0% 0% 0% 100%
Scala35.2535.28776,552668  0% 0% 0% 100%
 fannkuch-redux 
F# Mono113.62113.6415,148548  0% 0% 0% 100%
Scala56.5656.5820,4721017  0% 1% 0% 100%
 binary-trees 
F# Mono64.1464.19135,168565  0% 0% 0% 100%
Scala16.7116.75507,072494  0% 0% 0% 100%
 k-nucleotide 
F# Mono267.03267.45566,116701  0% 0% 0% 100%
Scala29.9529.97216,7482080  0% 0% 0% 100%
 reverse-complement 
No program
Scala0.260.32240761  3% 0% 3% 97%

 4 : Are there other F# Mono programs for these benchmarks?

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

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

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest F# Mono 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.

 F# Mono : higher-order type-safe programming (mono is not ms .net) 

Microsoft (R) F# 3.0 Compiler version (Mono build)

Mono JIT compiler version 3.0.3 (tarball Tue Feb 12 10:56:44 PST 2013)
LLVM: yes(3.2svn-mono)

Home Page: About F#

Download: F# Download

Revised BSD license

  Home   Conclusions   License   Play