÷

 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
↓ recursive1/2901/33
↓ n-body1/1361/6±
↓ fannkuch1/1321/6
↓ binary-trees1/1101/4
↓ mandelbrot1/1051/7
↓ nsieve-bits1/371/4
↓ fasta1/351/5
↓ k-nucleotide1/9±
↓ partial-sums1/71/7
↓ reverse-complement1/61/4
↓ nsieve1/41/7±
↓ sum-file1/41/8
↓ pidigits±1/5±
↓ regex-dna±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
 recursive 
GNU gcc2.36432547  
Python CPython683.7414,296360  
 n-body 
GNU gcc14.843961173  
Python CPython2,015.782,4401027  
 fannkuch 
GNU gcc5.87392628  
Python CPython772.842,404411  
 binary-trees 
GNU gcc0.853,900758  
Python CPython93.4116,116418  
 mandelbrot 
GNU gcc3.09372563  
Python CPython323.702,420303  
 nsieve-bits 
GNU gcc3.862,888434  
Python CPython144.4012,436288  
 fasta 
GNU gcc19.844881268  
Python CPython692.042,420779  
 k-nucleotide 
GNU gcc6.5735,3721175  
Python CPython58.4525,208475  
 partial-sums 
GNU gcc4.06352718  
Python CPython27.412,476395  
 reverse-complement 
GNU gcc0.4912,852736  
Python CPython2.7349,072288  
 nsieve 
GNU gcc2.075,320321  
Python CPython8.5735,220246  
 sum-file 
GNU gcc5.26320205  
Python CPython20.752,44477  
 pidigits 
GNU gcc1.66592680  
Python CPython2.062,928476  
 regex-dna 
GNU gcc6.0913,3601099  
Python CPython6.0420,516342  
 chameneos-redux
GNU gccFailed
 spectral-norm 
GNU gcc26.85428382  
No Python CPython

 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