Compare the performance of C++ GNU g++ programs against some other language implementation, or check the C++ CPU time and Memory use measurements.

For more information about the C++ implementation we measured see ↓ about C++ GNU g++.

Compare to:

 Are the C++ GNU g++ programs better?

For each of one our benchmarks, a white bar shows which language implementation had the faster program, and a black bar shows which used the least memory.

 How many times better?

How many times faster or smaller are the C++ GNU g++ programs than the corresponding C GNU gcc programs?

C++ GNU g++ x times better
~ C GNU gcc x times better
Program & Logs  Faster  Smaller: Memory Use Smaller: GZip Bytes Reduced N
binary-trees~1.2~1.51.3
chameneos-redux No program
fannkuch~1.3~2.21.1
fasta1.1~1.61.0
k-nucleotide~1.13.8~1.2
mandelbrot1.0~2.4~2.0
meteor-contest  No GNU gcc
n-body1.0~2.4~1.5
nsieve~1.0~1.11.0
nsieve-bits ~1.1~1.1
partial-sums1.0~2.41.4
pidigits ~1.81.0
recursive1.1~2.1~1.3
regex-dna1.11.1~1.5
reverse-complement1.3~1.0~1.1
spectral-norm1.1~2.1~1.2
startup~3.5 1.3
sum-file~1.2~2.7~1.4
thread-ring No program

 about C++ GNU g++

C++ 1991-2006, Bjarne Stroustrup (pdf)

gcc version 4.1.2 (Gentoo 4.1.2)

Home Page: http://gcc.gnu.org/

Download: ftp://ftp.gnu.org/pub/gnu/gcc/

Revised BSD license