Compare the performance of C GNU gcc programs against some other language implementation.

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

Compare to:

 C GNU gcc comparison summary


1/2 1/3 1/4 … C GNU gcc is better
Programs Time Memory Use Source Size Reduced N
chameneos-reduxNo program
binary-trees1/41/2±
sum-file±±±
fannkuch±1/8±
k-nucleotide±4±
mandelbrot±±±
reverse-complement±±±
spectral-norm±6±
nsieve-bits±±±
pidigits±±±
recursive±1/2±
fasta±±±
nsieve±±±
partial-sums±1/7±
regex-dna±±±
n-body±3±

± look at the measurements

 C GNU gcc comparison measurements

Program & Logs CPU secs Memory KB Size B Elapsed secs ~ CPU Load
 binary-trees 
C GNU gcc #21.504,504743  
C++ GNU g++ #25.917,000541  
 sum-file 
C GNU gcc #34.6114,852196  
C++ GNU g++ #26.2914,864260  
 fannkuch 
C GNU gcc6.07384628  
C++ GNU g++ #28.283,096554  
 k-nucleotide 
C GNU gcc6.5735,3801173  
C++ GNU g++ #37.639,3121380  
 mandelbrot 
C GNU gcc #22.753,272400  
C++ GNU g++3.003,312584  
 reverse-complement 
C GNU gcc #20.5812,732728  
C++ GNU g++ #30.6313,288810  
 spectral-norm 
C GNU gcc17.3018,488382  
C++ GNU g++17.493,092442  
 nsieve-bits 
C GNU gcc #22.783,092434  
C++ GNU g++2.803,328494  
 pidigits 
C GNU gcc2.843,120680  
C++ GNU g++ #22.853,124652  
 recursive 
C GNU gcc #22.58480425  
C++ GNU g++ #22.591,008566  
 fasta 
C GNU gcc #411.673,1081221  
C++ GNU g++ #411.693,1201248  
 nsieve 
C GNU gcc3.7910,332321  
C++ GNU g++ #33.7610,788313  
 partial-sums 
C GNU gcc #31.93428399  
C++ GNU g++ #31.843,096531  
 regex-dna 
C GNU gcc #26.9212,6961099  
C++ GNU g++ #36.4513,4081588  
 n-body 
C GNU gcc15.403,1001173  
C++ GNU g++ #212.789361705  

 about C GNU gcc

gcc-4.2 (GCC) 4.2.3 (Debian 4.2.3-1)

Online book: The C Book

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

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

Revised BSD license