My favorites | Sign in
Project Logo
             
Search
for
Updated May 03, 2009 by c.david86
Labels: Featured, Documentation
BenchResults  
Results of the current completed benchs.

The generated results can be found on the on the SVN : Time bench Size bench

Versions

mono --version :

Mono C# compiler version 2.0.1.0

gcc -v :

gcc version 4.3.3 (Debian 4.3.3-3) 

valac --version :

Vala 0.7.2

Time results

BenchNameC++Monoplain-CVala
mandelbrot14.5054.6112.3913.13
partialSums33.0456.1335.0034.95
recursive12.9430.148.448.72
binaryTrees27.8743.8721.5630.84
sumFile17.1122.8913.9915.06
fannkuch11.4627.0511.2612.44
spectralNorm32.8249.8233.2533.36
nsieve25.3228.0325.3125.09

Size results

BenchNameC++Monoplain-CVala
mandelbrot4352128222232565
partialSums2946141657826204
recursive6295140855635976
binaryTrees5518146645415960
sumFile2581108718453861
fannkuch5886139342787195
spectralNorm6240142038926036
nsieve2628117419663866

Memory consumed results

The method of memory measurement is pretty simple :

time --format=%M

    %M :    Maximum resident set  size  of  the  process
            during its lifetime, in Kilobytes.

The project's goal is to become part of "The Computer Language Benchmarks Game", not to implement complex memory measurement systems :).

due to the time command bug, these results are not available


Comment by ripzonetriton, Jun 30, 2008

Are you still thinking of adding support for new environments? :)

Comment by c.david86, Jun 30, 2008

As I have said before, it's very hard to make. It will break the automatic way my benchmark work by now.

Using Mingw based binaries may also introduce false results (using cygwin will probably moreover change the results). Furthermore all the tools I use to perform automatic rendering are Unix based (look at bench.sh). If you want you can take the C# file and make a VS project. I will pleasely add it to the bench (out of the automatic way).

Comment by witold.baryluk, Jul 14, 2008

I am also interested in comparission to D and MS .NET.

Comment by c.david86, Aug 18, 2008
Comment by andrew.falaleev, Apr 30, 2009

I think all overhead of C++ is in <iostream>. That is reason why C++ lose plain-C in some tests.

Comment by c.david86, May 03, 2009

I don't know if the difference come from <iostream> but as seen in the code size a huge piece of code is used by C++ and not by plain-C.


Sign in to add a comment
Hosted by Google Code