/mobile Handheld Friendly website

÷

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

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

 C# Mono used what fraction? used how many times more? 
Benchmark Time Memory Code
 fannkuch-redux †1/82
 fasta-redux1/75±
 mandelbrot1/681/2±
 n-body1/50±
 spectral-norm †1/28
 fasta1/141/6±
 binary-trees †1/111/7±
 k-nucleotide1/21/6
 reverse-complement±1/2
 pidigits±
 regex-dna±
 C# Mono used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/821/821/571/141/2

† possible mismatch - one-core program compared to multi-core program.

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 fannkuch-redux 
C# Mono134.2534.5416,2521096  97% 99% 96% 98% †
Perl2,820.322,821.211,752457  100% 0% 0% 0% †
 fasta-redux 
C# Mono2.802.8016,0121438  0% 1% 99% 1%
Perl210.29210.422,2801112  90% 0% 0% 11%
 mandelbrot 
C# Mono45.9412.1549,644701  93% 93% 93% 100%
Perl3,254.51827.4779,344592  99% 98% 99% 98%
 n-body 
C# Mono23.7723.7916,2201305  100% 0% 0% 0%
Perl1,177.821,178.232,2801401  24% 16% 61% 1%
 spectral-norm 
C# Mono30.308.3016,3921063  94% 93% 89% 90% †
Perl229.81229.893,860333  96% 0% 0% 4% †
 fasta 
C# Mono8.468.4615,7881180  0% 0% 0% 100%
Perl116.40116.4599,960838  0% 94% 0% 7%
 binary-trees 
C# Mono22.6822.68137,004654  100% 0% 0% 0% †
Perl863.86258.43912,720706  94% 69% 100% 72% †
 k-nucleotide 
C# Mono99.6931.43317,8121404  70% 96% 83% 69%
Perl242.0769.891,774,668648  82% 88% 85% 92%
 reverse-complement 
C# Mono2.522.52170,8641099  0% 1% 15% 87%
Perl3.043.05374,472284  0% 1% 1% 100%
 pidigits 
C# Mono4.544.5516,8001026  0% 0% 0% 100%
Perl5.465.473,600261  0% 1% 100% 0%
 regex-dna 
C# Mono84.2733.46330,940638  55% 57% 55% 86%
Perl34.5613.84140,296527  36% 77% 59% 78%

† possible mismatch - one-core program compared to multi-core program.

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

Remember - those are just the fastest C# Mono and Perl 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 Perl 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.0.3 (tarball Tue Feb 12 10:56:44 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

Revised BSD license

  Home   Conclusions   License   Play