/mobile Handheld Friendly website

÷

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

This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each chart bar shows, for one unidentified benchmark, how much the fastest F# Mono program used compared to the fastest Java 7 -server program.


Look at speed another way - look at a box plot of Time-used data.

 Step 2 : Are the F# Mono programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

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

 F# Mono used what fraction? used how many times more? 
Benchmark Time Memory Code
 spectral-norm1/2±
 n-body1/2±
 fasta-redux1/2±
 pidigits1/91/2
 fannkuch-redux1/2±
 mandelbrot1/2±
 fasta1/31/2
 regex-dna1/2
 binary-trees1/21/2
 k-nucleotide16×±1/3
 F# Mono used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)16×

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

 Step 3 : Are the F# Mono programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.

For each named benchmark, measurements of the fastest F# Mono program are shown for comparison against measurements of the fastest Java 7 -server program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 spectral-norm 
F# Mono22.447.228,552852  75% 77% 75% 83%
Java 7 -server17.624.5017,716950  98% 99% 98% 98%
 n-body 
F# Mono43.2541.837,8921259  4% 29% 62% 9%
Java 7 -server22.5222.5016,9201424  0% 100% 0% 0%
 fasta-redux 
F# Mono5.315.327,4121074  0% 100% 0% 0%
Java 7 -server2.562.5117,3041443  0% 100% 1% 1%
 pidigits 
F# Mono11.2011.216,728903  0% 1% 100% 0%
Java 7 -server10.614.4363,1561826  71% 69% 52% 45%
 fannkuch-redux 
F# Mono142.3437.178,204945  97% 97% 95% 94%
Java 7 -server53.1913.4717,4161282  98% 100% 98% 100%
 mandelbrot 
F# Mono69.5917.5039,896800  99% 99% 99% 100%
Java 7 -server23.976.1069,360796  98% 99% 98% 98%
 fasta 
F# Mono15.8215.826,684978  0% 0% 0% 100%
Java 7 -server5.225.1418,1761507  0% 100% 1% 1%
 regex-dna 
F# Mono87.4126.481,351,580639  78% 88% 73% 91%
Java 7 -server23.366.63636,9241410  92% 87% 88% 86%
 binary-trees 
F# Mono77.5148.56235,832565  20% 20% 20% 100%
Java 7 -server22.869.41516,1441007  83% 41% 64% 57%
 k-nucleotide 
F# Mono369.60126.44615,764701  68% 68% 75% 80%
Java 7 -server29.238.03463,5162431  90% 98% 89% 89%
 reverse-complement 
No program
Java 7 -server0.300.19?1661  35% 25% 50% 47%

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

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

 Step 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest F# Mono and Java 7 -server 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# 2.0 Compiler build 2.0.0.0

Mono JIT compiler version 2.10.8 (tarball Wed Jan 4 22:22:26 PST 2012)

Home Page: About F#

Download: F# Download

Revised BSD license

  Home   Conclusions   License   Help