vs

 1 : Are the C# Mono programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest C# Mono program used compared to the fastest Java program.

(Memory use is only compared for tasks that require memory to be allocated.)


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.

 2 : Are the C# Mono programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest C# Mono program used compared to the fastest Java program.

(Memory use is only compared for tasks that require memory to be allocated.)

 C# Mono used what fraction? used how many times more? 
Benchmark Time Memory Code
 n-body± ±
 fannkuch-redux± 1/2
 pidigits± ±
 mandelbrot± ±
 binary-trees±1/4±
 reverse-complement±1/3±
 fasta-redux± ±
 fasta 1/2
 k-nucleotide1/3±
 spectral-norm 1/2
 regex-dna1/21/2
 C# 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.

 3 : Are the C# Mono programs faster? Measurements.

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 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 n-body 
C# Mono22.5722.5820,7481305  0% 1% 0% 100%
Java24.5424.5515,6041424  0% 0% 1% 100%
 fannkuch-redux 
C# Mono65.0065.0219,476564  0% 1% 1% 100%
Java67.4067.4315,7201282  1% 1% 0% 100%
 pidigits 
C# Mono4.444.4520,6081026  1% 1% 1% 100%
Java4.124.1318,024938  1% 1% 1% 100%
 mandelbrot 
C# Mono31.2131.2252,744986  1% 0% 1% 100%
Java27.0027.0170,076796  0% 0% 1% 100%
 binary-trees 
C# Mono20.8320.86134,028654  0% 1% 2% 100%
Java16.2816.30511,448584  1% 1% 0% 100%
 reverse-complement 
C# Mono2.562.56175,8881099  1% 2% 0% 100%
Java1.961.97513,448745  1% 2% 0% 100%
 fasta-redux 
C# Mono2.652.6620,0961438  1% 0% 0% 100%
Java1.941.9416,2241443  1% 3% 0% 100%
 fasta 
C# Mono7.487.4919,8481180  0% 1% 1% 100%
Java4.914.9127,6682457  0% 1% 1% 100%
 k-nucleotide 
C# Mono89.8789.93323,6081404  1% 1% 1% 100%
Java53.4953.53908,6081630  1% 1% 0% 100%
 spectral-norm 
C# Mono30.1030.1121,208459  1% 1% 0% 100%
Java16.2616.2716,416950  1% 1% 0% 100%
 regex-dna 
C# Mono73.8073.82344,800594  1% 6% 9% 100%
Java22.2722.28558,3201284  1% 1% 0% 100%

 4 : Are there other C# Mono programs for these benchmarks?

Remember - those are just the fastest C# Mono and Java 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.

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest C# Mono and Java 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.

 C# Mono : oo plus functional style (mono is not ms .net) 

Mono JIT compiler version 3.8.1 (master/0322d96 Wed Aug 13 11:49:57 PDT 2014)
LLVM: yes(3.4svn-mono-mono/e656cac)
GC: sgen

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

Revised BSD license

  Home   Conclusions   License   Play