Gentoo : Intel® Pentium® 4 |
Read the FAQ! |
Compare the performance of C GNU gcc 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 gcc.
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 gcc programs than the corresponding C++ GNU g++ programs?
| C GNU gcc x times better ~ C++ GNU g++ x times better | ||||
|---|---|---|---|---|
| Program & Logs | Faster | Smaller: Memory Use | Smaller: GZip Bytes | Reduced N |
| binary-trees | 1.2 | 1.5 | ~1.3 | |
| chameneos-redux | ||||
| fannkuch | 1.3 | 2.2 | ~1.1 | |
| fasta | ~1.1 | 1.6 | ~1.0 | |
| k-nucleotide | 1.1 | ~3.8 | 1.2 | |
| mandelbrot | ~1.0 | 2.4 | 2.0 | |
| meteor-contest | ||||
| n-body | ~1.0 | 2.4 | 1.5 | |
| nsieve | 1.0 | 1.1 | ~1.0 | |
| nsieve-bits | 1.1 | 1.1 | ||
| partial-sums | ~1.0 | 2.4 | ~1.4 | |
| pidigits | 1.8 | ~1.0 | ||
| recursive | ~1.1 | 2.1 | 1.3 | |
| regex-dna | ~1.1 | ~1.1 | 1.5 | |
| reverse-complement | ~1.3 | 1.0 | 1.1 | |
| spectral-norm | ~1.1 | 2.1 | 1.2 | |
| startup | 3.5 | ~1.3 | ||
| sum-file | 1.2 | 2.7 | 1.4 | |
| thread-ring | ||||
gcc version 4.1.2 (Gentoo 4.1.2)
Online book: The C Book
Home Page: http://gcc.gnu.org/
Download: ftp://ftp.gnu.org/pub/gnu/gcc/