My favorites | Sign in
Project Logo
             
Search
for
Updated Sep 08, 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.4.2.3

gcc -v :

gcc (Debian 4.3.4-2) 4.3.4

valac --version :

Vala 0.7.6

Time results

http://vala-benchmarks.googlecode.com/svn/trunk/bench-time.svg

BenchNameC++Monoplain-CVala
mandelbrot14.4847.4012.3813.05
partialSums32.6856.5835.1134.92
recursive12.8728.158.388.61
binaryTrees27.5342.6221.5630.75
sumFile16.9023.7014.1815.24
fannkuch11.1826.5912.2614.23
spectralNorm32.7746.5832.8336.84
nsieve25.4929.3126.0925.70
nBody28.3343.5526.0228.06

Size results

http://vala-benchmarks.googlecode.com/svn/trunk/bench-size.svg

BenchNameC++Monoplain-CVala
mandelbrot4394128422702590
partialSums2997141657036151
recursive6334141056106036
binaryTrees5555146345705994
sumFile2634109018833913
fannkuch5924138943597163
spectralNorm6279142039275604
nsieve2681117320133919
nBody6061219937104986

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.

Comment by nicolas.boulay, Sep 20, 2009

grep VmHWM /proc/<pid>/status is a nice way to measure real memory comsumption.


Sign in to add a comment
Hosted by Google Code