/mobile Handheld Friendly website
x64 Ubuntu : Intel® Q6600® quad-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 | 2× | 1/2 | ± | |
| n-body | 2× | 1/2 | ± | |
| fasta-redux | 2× | 1/2 | ± | |
| pidigits | 3× | 1/9 | 1/2 | |
| fannkuch-redux | 3× | 1/2 | ± | |
| mandelbrot | 3× | 1/2 | ± | |
| fasta | 3× | 1/3 | 1/2 | |
| regex-dna | 4× | 2× | 1/2 | |
| binary-trees | 5× | 1/2 | 1/2 | |
| k-nucleotide | 16× | ± | 1/3 | |
| F# Mono used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | 2× | 2× | 2× | 3× | 4× | 7× | 16× |
± 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.44 | 7.22 | 8,552 | 852 | 75% 77% 75% 83% |
| Java 7 -server | 17.62 | 4.50 | 17,716 | 950 | 98% 99% 98% 98% |
| n-body | |||||
| F# Mono | 43.25 | 41.83 | 7,892 | 1259 | 4% 29% 62% 9% |
| Java 7 -server | 22.52 | 22.50 | 16,920 | 1424 | 0% 100% 0% 0% |
| fasta-redux | |||||
| F# Mono | 5.31 | 5.32 | 7,412 | 1074 | 0% 100% 0% 0% |
| Java 7 -server | 2.56 | 2.51 | 17,304 | 1443 | 0% 100% 1% 1% |
| pidigits | |||||
| F# Mono | 11.20 | 11.21 | 6,728 | 903 | 0% 1% 100% 0% |
| Java 7 -server | 10.61 | 4.43 | 63,156 | 1826 | 71% 69% 52% 45% |
| fannkuch-redux | |||||
| F# Mono | 142.34 | 37.17 | 8,204 | 945 | 97% 97% 95% 94% |
| Java 7 -server | 53.19 | 13.47 | 17,416 | 1282 | 98% 100% 98% 100% |
| mandelbrot | |||||
| F# Mono | 69.59 | 17.50 | 39,896 | 800 | 99% 99% 99% 100% |
| Java 7 -server | 23.97 | 6.10 | 69,360 | 796 | 98% 99% 98% 98% |
| fasta | |||||
| F# Mono | 15.82 | 15.82 | 6,684 | 978 | 0% 0% 0% 100% |
| Java 7 -server | 5.22 | 5.14 | 18,176 | 1507 | 0% 100% 1% 1% |
| regex-dna | |||||
| F# Mono | 87.41 | 26.48 | 1,351,580 | 639 | 78% 88% 73% 91% |
| Java 7 -server | 23.36 | 6.63 | 636,924 | 1410 | 92% 87% 88% 86% |
| binary-trees | |||||
| F# Mono | 77.51 | 48.56 | 235,832 | 565 | 20% 20% 20% 100% |
| Java 7 -server | 22.86 | 9.41 | 516,144 | 1007 | 83% 41% 64% 57% |
| k-nucleotide | |||||
| F# Mono | 369.60 | 126.44 | 615,764 | 701 | 68% 68% 75% 80% |
| Java 7 -server | 29.23 | 8.03 | 463,516 | 2431 | 90% 98% 89% 89% |
| reverse-complement | |||||
| Java 7 -server | 0.30 | 0.19 | ? | 1661 | 35% 25% 50% 47% |
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