/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
 pidigits±1/3±
 spectral-norm±1/2±
 n-body1/2±
 fannkuch-redux1/2±
 mandelbrot1/2±
 fasta-redux1/2±
 regex-dna1/2
 fasta1/31/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.

 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
 pidigits 
F# Mono3.903.905,752903  0% 1% 1% 100%
Java 7 -server5.445.4416,944938  0% 0% 0% 100%
 spectral-norm 
F# Mono15.8617.066,896852  0% 0% 1% 93%
Java 7 -server16.2116.2114,860950  0% 0% 0% 100%
 n-body 
F# Mono43.7943.806,7281259  0% 0% 0% 100%
Java 7 -server24.3224.3313,7441424  0% 0% 0% 100%
 fannkuch-redux 
F# Mono142.65142.697,024945  0% 0% 0% 100%
Java 7 -server71.2771.2913,8561282  0% 0% 0% 100%
 mandelbrot 
F# Mono70.4070.4239,100800  0% 0% 0% 100%
Java 7 -server26.8626.8767,760796  0% 0% 0% 100%
 fasta-redux 
F# Mono5.305.306,2841074  0% 0% 0% 100%
Java 7 -server1.891.8914,3761443  1% 1% 0% 100%
 regex-dna 
F# Mono76.5076.632,681,848639  0% 0% 0% 100%
Java 7 -server21.5821.61557,6121284  0% 0% 0% 100%
 fasta 
F# Mono18.7418.755,764978  0% 0% 0% 100%
Java 7 -server4.924.9214,8281507  1% 0% 0% 100%
 binary-trees 
F# Mono65.0365.07126,772565  0% 0% 0% 100%
Java 7 -server15.6415.68506,672603  0% 0% 0% 100%
 k-nucleotide 
F# Mono246.19246.68560,772701  0% 0% 0% 100%
Java 7 -server33.8133.93336,3882431  0% 0% 0% 100%
 reverse-complement 
No program
Java 7 -server0.140.15?745  0% 0% 0% 100%

 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 17:35:06 PST 2012)

Home Page: About F#

Download: F# Download

Revised BSD license

  Home   Conclusions   License   Help