/mobile Handheld Friendly website
x64 Ubuntu : Intel® Q6600® one core |
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.
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-norm | ± | 1/2 | 2× | |
| n-body | 2× | 1/2 | ± | |
| fannkuch-redux | 2× | 1/2 | ± | |
| pidigits | 2× | 1/8 | 1/2 | |
| fasta-redux | 2× | 1/2 | ± | |
| mandelbrot | 3× | 1/2 | ± | |
| fasta | 3× | 1/3 | 1/2 | |
| regex-dna | 3× | 2× | 1/2 | |
| binary-trees | 4× | 1/2 | ± | |
| k-nucleotide | 9× | ± | 1/3 | |
| F# Mono used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | ± | ± | 2× | 3× | 3× | 6× | 9× |
± read the measurements and then read the program source code.
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# Mono | 22.41 | 23.49 | 8,388 | 852 | 0% 0% 0% 95% |
| Java 7 -server | 16.99 | 17.00 | 18,244 | 514 | 0% 0% 0% 100% |
| n-body | |||||
| F# Mono | 41.34 | 41.36 | 7,828 | 1259 | 0% 0% 0% 100% |
| Java 7 -server | 22.51 | 22.51 | 16,940 | 1424 | 0% 0% 0% 100% |
| fannkuch-redux | |||||
| F# Mono | 129.32 | 129.35 | 8,080 | 945 | 0% 0% 0% 100% |
| Java 7 -server | 69.96 | 69.99 | 17,020 | 1282 | 0% 0% 0% 100% |
| pidigits | |||||
| F# Mono | 11.20 | 11.21 | 6,608 | 903 | 0% 0% 0% 100% |
| Java 7 -server | 6.00 | 6.01 | 53,768 | 1826 | 1% 0% 0% 100% |
| fasta-redux | |||||
| F# Mono | 5.31 | 5.32 | 7,364 | 1074 | 0% 2% 1% 100% |
| Java 7 -server | 2.54 | 2.54 | 17,244 | 1443 | 1% 0% 0% 100% |
| mandelbrot | |||||
| F# Mono | 69.56 | 69.58 | 39,748 | 800 | 0% 0% 0% 100% |
| Java 7 -server | 23.74 | 23.75 | 69,696 | 796 | 0% 0% 0% 100% |
| fasta | |||||
| F# Mono | 15.81 | 15.82 | 6,696 | 978 | 0% 0% 0% 100% |
| Java 7 -server | 5.18 | 5.19 | 18,044 | 1507 | 1% 0% 1% 100% |
| regex-dna | |||||
| F# Mono | 76.27 | 76.36 | 1,364,080 | 639 | 0% 0% 0% 100% |
| Java 7 -server | 22.95 | 23.00 | 561,436 | 1284 | 0% 0% 0% 100% |
| binary-trees | |||||
| F# Mono | 73.70 | 73.78 | 235,748 | 565 | 0% 0% 0% 100% |
| Java 7 -server | 16.44 | 16.48 | 499,416 | 603 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| F# Mono | 272.24 | 272.78 | 615,448 | 701 | 0% 0% 0% 100% |
| Java 7 -server | 29.02 | 29.10 | 521,820 | 2431 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Java 7 -server | 0.14 | 0.14 | ? | 745 | 0% 7% 7% 100% |
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.
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.
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