/mobile Handheld Friendly website
x64 Ubuntu : Intel® Q6600® one core |
Each chart bar shows, for one unidentified benchmark, how much the fastest C# Mono program used compared to the fastest Java 7 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 C# Mono program used compared to the fastest Java 7 program.
| C# Mono used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| fannkuch-redux | 1/2 | ± | 1/2 | |
| fasta-redux | ± | ± | ± | |
| n-body | ± | ± | ± | |
| fasta | ± | ± | ± | |
| reverse-complement | ± | 1/3 | ± | |
| spectral-norm | ± | ± | ± | |
| k-nucleotide | ± | ± | ± | |
| pidigits | 2× | 1/4 | 1/2 | |
| mandelbrot | 2× | ± | ± | |
| regex-dna | 2× | ± | 1/2 | |
| binary-trees | 4× | 1/3 | ± | |
| C# Mono used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | 1/2 | 1/2 | ± | ± | 2× | 3× | 4× |
± 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 C# Mono program are shown for comparison against measurements of the fastest Java 7 program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| fannkuch-redux | |||||
| C# Mono | 44.82 | 44.83 | 13,844 | 564 | 0% 0% 0% 100% |
| Java 7 | 70.18 | 70.20 | 17,168 | 1282 | 0% 0% 0% 100% |
| fasta-redux | |||||
| C# Mono | 2.41 | 2.42 | 15,224 | 1441 | 0% 0% 0% 100% |
| Java 7 | 2.55 | 2.56 | 17,264 | 1443 | 1% 1% 0% 100% |
| n-body | |||||
| C# Mono | 22.37 | 22.38 | 14,664 | 1305 | 1% 0% 0% 100% |
| Java 7 | 22.51 | 22.52 | 17,016 | 1424 | 0% 0% 0% 100% |
| fasta | |||||
| C# Mono | 6.13 | 6.14 | 15,012 | 1180 | 0% 0% 0% 100% |
| Java 7 | 5.18 | 5.19 | 18,132 | 1507 | 0% 0% 0% 100% |
| reverse-complement | |||||
| C# Mono | 2.24 | 2.24 | 173,576 | 1099 | 0% 0% 2% 100% |
| Java 7 | 1.79 | 1.83 | 514,504 | 745 | 0% 1% 0% 99% |
| spectral-norm | |||||
| C# Mono | 21.85 | 21.86 | 14,368 | 459 | 0% 0% 0% 100% |
| Java 7 | 17.00 | 17.00 | 18,320 | 514 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| C# Mono | 73.29 | 73.34 | 559,544 | 1696 | 0% 0% 0% 100% |
| Java 7 | 50.50 | 50.55 | 451,208 | 1602 | 0% 0% 0% 100% |
| pidigits | |||||
| C# Mono | 11.04 | 11.04 | 15,048 | 1026 | 0% 0% 0% 100% |
| Java 7 | 5.90 | 5.91 | 63,344 | 1826 | 0% 0% 0% 100% |
| mandelbrot | |||||
| C# Mono | 45.08 | 45.09 | 47,932 | 701 | 0% 0% 0% 100% |
| Java 7 | 23.79 | 23.80 | 69,816 | 796 | 0% 0% 0% 100% |
| regex-dna | |||||
| C# Mono | 56.54 | 56.59 | 526,996 | 594 | 0% 0% 0% 100% |
| Java 7 | 23.11 | 23.17 | 561,732 | 1284 | 0% 0% 0% 100% |
| binary-trees | |||||
| C# Mono | 73.17 | 73.24 | 143,064 | 654 | 0% 0% 0% 100% |
| Java 7 | 16.37 | 16.42 | 499,404 | 603 | 0% 1% 0% 100% |
Remember - those are just the fastest C# Mono and Java 7 programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for C# Mono.
Maybe one of those other C# Mono programs is fastest on a different OS/machine.
Remember - those are just the fastest C# Mono and Java 7 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.
Mono JIT compiler version 3.0.3 (tarball Tue Feb 12 21:22:20 PST 2013)
LLVM: yes(3.2svn-mono)
C# Language Specification ECMA-334
Common Language Infrastructure (CLI) ECMA-335
Home Page: http://www.mono-project.com/
Download: http://www.mono-project.com/Downloads