÷

 Are the C GNU gcc programs faster?

Do the C GNU gcc programs use optimized assembly code libraries? Are they small simple programs or very optimized programs? Do the C GNU gcc programs use a fraction of the time used by other programs or do they use several times more?


 C GNU gcc used what fraction? used how many times more? 
Programs Time Memory Code Reduced N
↓ binary-trees1/51/2±
↓ fannkuch±1/2±
↓ sum-file±1/3±
↓ k-nucleotide±±
↓ reverse-complement±±±
↓ recursive±1/2±
↓ nsieve±±±
↓ nsieve-bits±±±
↓ pidigits±1/2±
↓ partial-sums±1/2±
↓ n-body±1/2±
↓ mandelbrot±1/21/2
↓ fasta±1/2±
↓ regex-dna±±±
↓ spectral-norm±1/2±

± look at the measurements and then look at the programs.

 Are the C GNU gcc programs faster?

Program & Logs CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 binary-trees 
GNU gcc0.853,900758  
C++ GNU g++4.476,996541  
 fannkuch 
GNU gcc5.87392628  
C++ GNU g++7.78844554  
 sum-file 
GNU gcc5.26320205  
C++ GNU g++6.47852260  
 k-nucleotide 
GNU gcc6.5735,3721175  
C++ GNU g++7.469,3041380  
 reverse-complement 
GNU gcc0.4912,852736  
C++ GNU g++0.5413,288810  
 recursive 
GNU gcc2.36432547  
C++ GNU g++2.401,008566  
 nsieve 
GNU gcc2.075,320321  
C++ GNU g++2.085,764313  
 nsieve-bits 
GNU gcc3.862,888434  
C++ GNU g++3.863,316494  
 pidigits 
GNU gcc1.66592680  
C++ GNU g++1.661,052652  
 partial-sums 
GNU gcc4.06352718  
C++ GNU g++4.05852531  
 n-body 
GNU gcc14.843961173  
C++ GNU g++14.629321705  
 mandelbrot 
GNU gcc3.09372563  
C++ GNU g++3.028961097  
 fasta 
GNU gcc19.844881268  
C++ GNU g++18.727881248  
 regex-dna 
GNU gcc6.0913,3601099  
C++ GNU g++5.5812,7041588  
 spectral-norm 
GNU gcc26.85428382  
C++ GNU g++23.84900442  
 chameneos-redux
GNU gccFailed

 C GNU gcc : unchecked low-level programming 

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/

Revised BSD license