/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® one core |
Each chart bar shows, for one unidentified benchmark, how much the fastest F# Mono program used compared to the fastest Scala program.
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.
Each table row shows, for one named benchmark, how much the fastest F# Mono program used compared to the fastest Scala program.
| F# Mono used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| fasta-redux | ± | ± | ± | |
| pidigits | ± | 1/3 | ± | |
| n-body | ± | ± | ± | |
| fasta | 2× | ± | ± | |
| mandelbrot | 2× | 1/4 | ± | |
| spectral-norm | 2× | ± | 2× | |
| regex-dna | 2× | 4× | ± | |
| fannkuch-redux | 2× | ± | 1/2 | |
| binary-trees | 4× | 1/4 | ± | |
| k-nucleotide | 9× | 3× | 1/3 | |
| F# Mono used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | ± | ± | ± | 2× | 2× | 3× | 9× |
± read the measurements and then read the program source code.
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 Scala program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| fasta-redux | |||||
| F# Mono | 3.32 | 3.33 | 16,464 | 1074 | 0% 0% 0% 100% |
| Scala | 4.29 | 4.30 | 23,428 | 1372 | 0% 1% 0% 100% |
| pidigits | |||||
| F# Mono | 3.96 | 3.97 | 15,220 | 903 | 1% 1% 0% 100% |
| Scala | 4.44 | 4.45 | 44,044 | 1125 | 0% 0% 0% 100% |
| n-body | |||||
| F# Mono | 34.93 | 34.94 | 17,948 | 1259 | 1% 0% 0% 100% |
| Scala | 23.91 | 23.91 | 18,756 | 1358 | 0% 0% 0% 100% |
| fasta | |||||
| F# Mono | 10.61 | 10.61 | 15,132 | 978 | 1% 0% 0% 100% |
| Scala | 6.54 | 6.55 | 19,588 | 1053 | 0% 1% 0% 100% |
| mandelbrot | |||||
| F# Mono | 47.56 | 47.57 | 48,464 | 800 | 0% 0% 0% 100% |
| Scala | 28.01 | 28.03 | 195,456 | 786 | 0% 0% 0% 100% |
| spectral-norm | |||||
| F# Mono | 29.74 | 30.58 | 16,428 | 852 | 0% 0% 0% 97% |
| Scala | 16.52 | 16.53 | 18,484 | 404 | 0% 1% 0% 100% |
| regex-dna | |||||
| F# Mono | 66.26 | 66.42 | 2,752,712 | 639 | 0% 0% 0% 100% |
| Scala | 35.25 | 35.28 | 776,552 | 668 | 0% 0% 0% 100% |
| fannkuch-redux | |||||
| F# Mono | 113.62 | 113.64 | 15,148 | 548 | 0% 0% 0% 100% |
| Scala | 56.56 | 56.58 | 20,472 | 1017 | 0% 1% 0% 100% |
| binary-trees | |||||
| F# Mono | 64.14 | 64.19 | 135,168 | 565 | 0% 0% 0% 100% |
| Scala | 16.71 | 16.75 | 507,072 | 494 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| F# Mono | 267.03 | 267.45 | 566,116 | 701 | 0% 0% 0% 100% |
| Scala | 29.95 | 29.97 | 216,748 | 2080 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Scala | 0.26 | 0.32 | 240 | 761 | 3% 0% 3% 97% |
Remember - those are just the fastest F# Mono and Scala 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 Scala 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# 3.0 Compiler version (Mono build)
Mono JIT compiler version 3.0.3 (tarball Tue Feb 12 10:56:44 PST 2013)
LLVM: yes(3.2svn-mono)
Home Page: About F#
Download: F# Download