Debian : AMD™ Sempron™ |
Read the FAQ! |
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++.
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 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.4 | ~1.5 | 1.3 | |
| chameneos-redux | ||||
| fannkuch | ~1.4 | ~8.1 | 1.1 | |
| fasta | ~1.0 | ~1.0 | ~1.0 | |
| k-nucleotide | ~1.2 | 3.8 | ~1.2 | |
| mandelbrot | ~1.1 | ~1.0 | ~1.5 | |
| n-body | 1.2 | 3.3 | ~1.5 | |
| nsieve | 1.0 | ~1.0 | 1.0 | |
| nsieve-bits | ~1.0 | ~1.1 | ~1.1 | |
| partial-sums | 1.1 | ~7.2 | ~1.3 | |
| pidigits | ~1.0 | ~1.0 | 1.0 | |
| recursive | ~1.0 | ~2.1 | ~1.3 | |
| regex-dna | 1.1 | ~1.1 | ~1.5 | |
| reverse-complement | ~1.1 | ~1.0 | ~1.1 | |
| spectral-norm | ~1.0 | 6.0 | ~1.2 | |
| startup | ~3.5 | ~1.1 | ||
| sum-file | ~1.4 | ~1.4 | ||
| thread-ring | ||||
C++ 1991-2006, Bjarne Stroustrup (pdf)
g++ (GCC) 4.2.3 (Debian 4.2.3-1)
Home Page: http://gcc.gnu.org/
Download: ftp://ftp.gnu.org/pub/gnu/gcc/