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

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

Compare to:

 C++ GNU g++ comparison summary


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

± look at the measurements

 C++ GNU g++ comparison measurements

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

 about C++ GNU g++

C++ 1991-2006, Bjarne Stroustrup (pdf)

g++ (GCC) 4.2.3 (Debian 4.2.3-1)

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

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

Revised BSD license