vs

 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 Clojure 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 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 Clojure program.

(Memory use is only compared for tasks that require memory to be allocated.)

 F# Mono used what fraction? used how many times more? 
Benchmark Time Memory Code
 fasta-redux1/3 ±
 fannkuch-redux1/2 1/2
 pidigits1/2 1/2
 spectral-norm± ±
 n-body± 1/2
 fasta± 1/2
 mandelbrot± ±
 binary-trees±1/3±
 k-nucleotide±1/2
 regex-dna±±
 F# Mono used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/31/31/2±±±±

± 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 Clojure program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 fasta-redux 
F# Mono3.553.5622,4761074  1% 1% 1% 100%
Clojure10.1110.1255,9321428  0% 1% 0% 100%
 fannkuch-redux 
F# Mono72.0872.1019,124612  0% 0% 0% 100%
Clojure145.73145.7847,1361491  1% 1% 1% 100%
 pidigits 
F# Mono3.963.9719,940903  2% 1% 1% 100%
Clojure6.456.4566,8641944  0% 1% 1% 100%
 spectral-norm 
F# Mono31.3732.1621,972852  0% 1% 1% 98%
Clojure41.7341.7448,012918  1% 1% 0% 100%
 n-body 
F# Mono25.6625.6727,1681259  0% 1% 1% 100%
Clojure29.2029.2144,6882162  1% 0% 0% 100%
 fasta 
F# Mono10.6810.6920,400978  0% 0% 1% 100%
Clojure10.9310.9449,7961653  0% 0% 1% 100%
 mandelbrot 
F# Mono35.1535.1656,664869  1% 0% 0% 100%
Clojure34.7234.74139,9561195  0% 2% 2% 100%
 binary-trees 
F# Mono23.5923.62182,728537  0% 1% 1% 100%
Clojure21.7321.76512,756657  0% 1% 1% 100%
 k-nucleotide 
F# Mono61.6861.71980,4681505  0% 1% 1% 100%
Clojure43.9143.95373,0882723  0% 1% 0% 100%
 regex-dna 
F# Mono69.3669.381,063,220639  0% 1% 1% 100%
Clojure48.3548.38524,580710  0% 0% 1% 100%
 reverse-complement 
No program
Clojure2.702.7164,7801044  1% 0% 0% 100%

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

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

F# Compiler for F# 3.1 (Open Source Edition)

Mono JIT compiler version 3.10.1 (master/9fd3c7a Thu Sep 11 15:32:17 PDT 2014)
LLVM: yes(3.4svn-mono-mono/e656cac)
GC: sgen

Home Page: About F#

Download: F# Download

Revised BSD license

  Home   Conclusions   License   Play