÷

 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
↓ mandelbrot1/1,91517×
↓ spectral-norm1/7501/4
↓ fannkuch1/5261/3
↓ binary-trees1/2101/5
↓ chameneos-redux1/1821/3
↓ n-body1/1691/4±
↓ fasta1/1211/621
↓ pidigits1/201/14±
↓ k-nucleotide1/16
↓ reverse-complement1/71/2
↓ regex-dna1/21/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
 mandelbrot 
GNU gcc24.386.1127,248879  100% 100% 100% 100%
Ruby MRI11,695.7011,694.961,568313  0% 100% 0% 0%
 spectral-norm 
GNU gcc12.003.006881139  100% 100% 100% 100%
Ruby MRI2,251.472,251.332,676292  0% 0% 0% 100%
 fannkuch 
GNU gcc50.5412.88552937  98% 100% 98% 98%
Ruby MRI6,779.966,779.551,888340  0% 100% 0% 0%
 binary-trees 
GNU gcc13.715.10100,688850  50% 34% 85% 81%
Ruby MRI1,070.441,070.38457,788412  1% 100% 1% 1%
 chameneos-redux 
GNU gcc2.840.725802879  100% 97% 99% 100%
Ruby MRI131.29131.281,956928  100% 0% 0% 0%
 n-body 
GNU gcc23.5223.524161429  100% 0% 0% 0%
Ruby MRI3,982.803,982.551,6521137  0% 100% 0% 0%
 fasta 
GNU gcc5.185.193961221  100% 0% 0% 0%
Ruby MRI630.13630.12245,868732  0% 41% 1% 58%
 pidigits 
GNU gcc2.712.711,012541  0% 100% 0% 0%
Ruby MRI53.8153.8113,924518  0% 0% 0% 100%
 k-nucleotide 
GNU gcc53.9653.96802,9281141  0% 0% 0% 100%
Ruby MRI843.59843.54147,980420  0% 0% 0% 100%
 reverse-complement 
GNU gcc1.371.37125,192722  100% 1% 1% 1%
Ruby MRI10.0910.09197,348255  0% 98% 0% 0%
 regex-dna 
GNU gcc32.1732.17124,6961099  0% 0% 100% 0%
Ruby MRI58.3958.39254,336323  0% 0% 0% 100%

 C GNU gcc : unchecked low-level programming 

gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)

Online book: The C Book

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

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

Revised BSD license