The Computer Language
24.11 Benchmarks Game

all C++ g++ programs & measurements

g++ (Ubuntu 14.2.0-4ubuntu2) 14.2.0

source secs N mem gz cpu secs cpu load
binary-trees  #6 0.12  7 19,940 851 0.01 0% 7% 0% 7%
binary-trees  #6 0.01  14 19,940 851 0.03 0% 100% 100% 100%
binary-trees  #6 1.91  21 266,120 851 4.77 47% 87% 53% 63%
source secs N mem gz cpu secs cpu load
binary-trees  #9 0.18  7 19,760 815 0.01 0% 0% 5% 0%
binary-trees  #9 0.01  14 19,760 815 0.03 100% 100% 66% 50%
binary-trees  #9 1.74  21 136,120 815 4.63 63% 54% 100% 50%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.07  7 19,760 951 0.00 0% 0% 0% 0%
binary-trees  #3 0.01  14 19,760 951 0.02 66% 100% 50% 66%
binary-trees  #3 1.91  21 265,636 951 4.74 76% 41% 86% 45%
source secs N mem gz cpu secs cpu load
binary-trees  0.08  7 19,760 760 0.01 0% 12% 12% 0%
binary-trees  0.02  14 19,760 760 0.02 0% 100% 0% 0%
binary-trees  2.65  21 2,153,044 760 9.23 85% 95% 85% 86%
source secs N mem gz cpu secs cpu load
binary-trees  #4 0.10  7 19,412 826 0.01 10% 0% 0% 0%
binary-trees  #4 0.01  14 19,412 826 0.03 100% 66% 100% 100%
binary-trees  #4 2.22  21 266,136 826 5.20 33% 61% 52% 87%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.05  7 19,940 891 0.00 16% 0% 20% 0%
binary-trees  #5 0.01  14 19,940 891 0.02 100% 100% 100% 100%
binary-trees  #5 1.16  21 200,724 891 4.10 86% 98% 87% 86%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.09  7 19,760 514 0.00 0% 10% 0% 0%
binary-trees  #2 0.12  14 19,760 514 0.12 0% 0% 100% 0%
binary-trees  #2 22.83  21 265,840 514 22.82 70% 0% 0% 30%
source secs N mem gz cpu secs cpu load
binary-trees  #7 0.17  7 19,760 896 0.01 0% 0% 0% 0%
binary-trees  #7 0.01  14 19,760 896 0.02 100% 100% 100% 50%
binary-trees  #7 0.97  21 201,512 896 3.40 84% 99% 84% 84%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #5 0.19  10 19,760 987 0.22 31% 30% 36% 27%
fannkuch-redux  #5 0.60  11 19,760 987 2.32 98% 98% 100% 93%
fannkuch-redux  #5 7.85  12 19,760 987 30.68 99% 100% 99% 93%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #4 0.20  10 19,760 1445 0.23 28% 30% 30% 30%
fannkuch-redux  #4 0.68  11 19,760 1445 2.63 95% 91% 100% 100%
fannkuch-redux  #4 8.92  12 19,760 1445 35.00 100% 99% 94% 98%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #7 0.10  10 19,760 1156 0.10 100% 0% 0% 0%
fannkuch-redux  #7 1.09  11 19,760 1156 1.09 0% 0% 0% 100%
fannkuch-redux  #7 14.03  12 19,760 1156 14.03 39% 0% 0% 60%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 0.16  10 19,760 1446 0.24 37% 37% 37% 35%
fannkuch-redux  #2 0.70  11 19,760 1446 2.68 95% 92% 100% 97%
fannkuch-redux  #2 9.13  12 19,760 1446 35.73 98% 99% 100% 94%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 0.25  10 19,760 600 0.24 100% 0% 0% 0%
fannkuch-redux  #3 2.88  11 19,760 600 2.88 100% 0% 0% 0%
fannkuch-redux  #3 37.88  12 19,760 600 37.87 54% 46% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #6 0.14  10 19,760 1535 0.11 21% 26% 20% 21%
fannkuch-redux  #6 0.26  11 19,760 1535 1.02 96% 96% 100% 96%
fannkuch-redux  #6 3.31  12 19,760 1535 13.11 99% 99% 100% 97%
source secs N mem gz cpu secs cpu load
fannkuch-redux  0.14  10 19,760 1065 0.26 50% 46% 50% 50%
fannkuch-redux  0.80  11 19,760 1065 3.12 98% 98% 100% 95%
fannkuch-redux  10.49  12 19,760 1065 41.21 99% 98% 95% 100%
source secs N mem gz cpu secs cpu load
fasta  #2 0.13  250,000 19,760 1129 0.04 30% 0% 0% 7%
fasta  #2 0.21  2,500,000 19,760 1129 0.21 5% 0% 4% 100%
fasta  #2 1.84  25,000,000 19,760 1129 1.84 1% 0% 0% 100%
source secs N mem gz cpu secs cpu load
fasta  #6 0.15  250,000 19,760 2326 0.06 7% 7% 7% 14%
fasta  #6 0.15  2,500,000 19,760 2326 0.50 92% 73% 93% 92%
fasta  #6 1.07  25,000,000 19,760 2326 4.01 94% 95% 94% 95%
source secs N mem gz cpu secs cpu load
fasta  #5 0.06  250,000 19,760 2345 0.05 20% 28% 16% 16%
fasta  #5 0.14  2,500,000 19,760 2345 0.45 92% 80% 84% 85%
fasta  #5 1.06  25,000,000 19,760 2345 3.66 86% 86% 87% 86%
source secs N mem gz cpu secs cpu load
fasta  #7 0.10  250,000 19,760 2711 0.05 18% 20% 10% 10%
fasta  #7 0.10  2,500,000 19,760 2711 0.33 80% 88% 90% 80%
fasta  #7 0.87  25,000,000 19,760 2711 3.05 88% 88% 88% 88%
source secs N mem gz cpu secs cpu load
fasta  0.13  250,000 19,760 1064 0.04 0% 0% 0% 30%
fasta  0.21  2,500,000 19,760 1064 0.21 100% 0% 0% 0%
fasta  1.92  25,000,000 19,760 1064 1.92 99% 0% 1% 0%
source secs N mem gz cpu secs cpu load
fasta  #4 0.04  250,000 19,760 1291 0.04 100% 0% 20% 0%
fasta  #4 0.36  2,500,000 19,760 1291 0.36 2% 0% 0% 100%
fasta  #4 3.32  25,000,000 19,760 1291 3.32 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 0.14  250,000 19,760 1311 0.06 42% 0% 0% 0%
fasta  #3 0.29  2,500,000 19,760 1311 0.29 3% 3% 3% 100%
fasta  #3 2.63  25,000,000 19,760 1311 2.63 0% 100% 1% 0%
source secs N mem gz cpu secs cpu load
fasta  #9 0.10  250,000 19,352 2758 0.03 10% 16% 0% 10%
fasta  #9 0.09  2,500,000 19,352 2758 0.16 37% 11% 88% 66%
fasta  #9 0.78  25,000,000 19,352 2758 1.54 63% 1% 98% 37%
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 0.25  250,000 36,400 1634 0.24 12% 63% 19% 12%
k-nucleotide  #2 0.55  2,500,000 47,008 1634 0.84 29% 68% 35% 29%
k-nucleotide  #2 2.01  25,000,000 156,592 1634 5.98 73% 90% 68% 67%
source secs N mem gz cpu secs cpu load
k-nucleotide  0.22  250,000 28,524 1452 0.26 9% 52% 54% 4%
k-nucleotide  0.97  2,500,000 97,948 1452 1.70 24% 73% 74% 11%
k-nucleotide  6.96  25,000,000 757,156 1452 14.75 78% 91% 24% 17%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 0.30  250,000 43,932 1280 0.37 23% 20% 32% 53%
k-nucleotide  #3 0.79  2,500,000 55,744 1280 1.81 50% 69% 51% 61%
k-nucleotide  #3 4.19  25,000,000 165,580 1280 13.94 79% 76% 81% 97%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 0.22  1,000 19,760 421 0.14 63% 0% 4% 0%
mandelbrot  #3 1.73  4,000 19,760 421 1.73 100% 0% 0% 0%
mandelbrot  #3 27.37  16,000 19,760 421 27.36 62% 37% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #0 0.09  1,000 19,760 2752 0.05 10% 18% 11% 11%
mandelbrot  #0 0.16  4,000 19,760 2752 0.60 94% 88% 93% 94%
mandelbrot  #0 2.35  16,000 35,476 2752 9.30 98% 99% 99% 98%
source secs N mem gz cpu secs cpu load
mandelbrot  #5 0.16  1,000 19,760 596 0.09 0% 0% 0% 53%
mandelbrot  #5 0.87  4,000 19,760 596 0.87 100% 1% 1% 1%
mandelbrot  #5 13.44  16,000 34,636 596 13.43 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 0.05  1,000 19,760 3554 0.02 0% 0% 0% 16%
mandelbrot  #4 0.06  4,000 19,760 3554 0.22 100% 100% 100% 83%
mandelbrot  #4 0.89  16,000 35,344 3554 3.45 96% 97% 98% 98%
source secs N mem gz cpu secs cpu load
mandelbrot  0.14  1,000 19,760 1797 0.03 0% 6% 7% 0%
mandelbrot  0.06  4,000 19,760 1797 0.23 100% 100% 100% 100%
mandelbrot  0.89  16,000 34,952 1797 3.47 97% 97% 97% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #7 0.19  1,000 19,512 749 0.08 16% 15% 5% 15%
mandelbrot  #7 0.32  4,000 19,512 749 0.86 100% 37% 37% 96%
mandelbrot  #7 4.86  16,000 35,176 749 13.28 99% 37% 37% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 0.09  1,000 19,760 1014 0.03 11% 12% 11% 11%
mandelbrot  #6 0.07  4,000 19,760 1014 0.25 87% 100% 100% 87%
mandelbrot  #6 0.98  16,000 35,080 1014 3.87 99% 100% 100% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 0.19  1,000 19,760 700 0.10 0% 10% 0% 55%
mandelbrot  #2 1.08  4,000 19,760 700 1.08 1% 0% 100% 0%
mandelbrot  #2 16.95  16,000 34,636 700 16.94 36% 64% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #9 0.11  1,000 19,760 732 0.09 18% 27% 20% 25%
mandelbrot  #9 0.23  4,000 19,760 732 0.87 100% 95% 100% 95%
mandelbrot  #9 3.52  16,000 35,120 732 13.55 99% 95% 96% 95%
source secs N mem gz cpu secs cpu load
n-body  #5 0.07  500,000 19,760 1544 0.07 100% 0% 0% 0%
n-body  #5 0.64  5,000,000 19,760 1544 0.64 100% 0% 0% 0%
n-body  #5 6.32  50,000,000 19,760 1544 6.32 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  0.08  500,000 19,760 1666 0.08 0% 100% 0% 0%
n-body  0.67  5,000,000 19,760 1666 0.67 0% 100% 2% 0%
n-body  6.61  50,000,000 19,760 1666 6.61 93% 0% 0% 7%
source secs N mem gz cpu secs cpu load
n-body  #2 0.07  500,000 19,352 1524 0.07 0% 0% 100% 0%
n-body  #2 0.61  5,000,000 19,352 1524 0.61 0% 1% 100% 3%
n-body  #2 6.02  50,000,000 19,352 1524 6.01 3% 0% 96% 1%
source secs N mem gz cpu secs cpu load
n-body  #4 0.06  500,000 19,760 1434 0.06 0% 100% 0% 0%
n-body  #4 0.55  5,000,000 19,760 1434 0.55 0% 100% 1% 0%
n-body  #4 5.45  50,000,000 19,760 1434 5.45 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #6 0.08  500,000 19,760 1674 0.08 100% 0% 0% 0%
n-body  #6 0.70  5,000,000 19,760 1674 0.70 1% 1% 100% 0%
n-body  #6 6.93  50,000,000 19,760 1674 6.93 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 0.06  500,000 19,760 1402 0.06 100% 0% 0% 0%
n-body  #3 0.55  5,000,000 19,760 1402 0.55 0% 1% 1% 100%
n-body  #3 5.32  50,000,000 19,760 1402 5.32 91% 8% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #0 0.03  500,000 19,760 1933 0.03 0% 0% 100% 0%
n-body  #0 0.22  5,000,000 19,760 1933 0.22 0% 0% 4% 100%
n-body  #0 2.15  50,000,000 19,760 1933 2.15 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
n-body  #7 0.15  500,000 19,760 1815 0.07 6% 46% 6% 0%
n-body  #7 0.43  5,000,000 19,760 1815 0.43 4% 0% 0% 100%
n-body  #7 4.11  50,000,000 19,760 1815 4.11 8% 92% 1% 0%
source secs N mem gz cpu secs cpu load
n-body  #9 0.08  500,000 19,760 1536 0.08 0% 0% 100% 0%
n-body  #9 0.52  5,000,000 19,760 1536 0.52 0% 98% 0% 1%
n-body  #9 5.14  50,000,000 19,760 1536 5.14 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #5 0.17  2,000 19,760 804 0.05 31% 0% 5% 0%
pidigits  #5 0.25  6,000 19,760 804 0.25 0% 100% 0% 0%
pidigits  #5 0.73  10,000 19,760 804 0.73 1% 0% 100% 1%
source secs N mem gz cpu secs cpu load
pidigits  #4 0.19  2,000 19,760 521 0.05 0% 31% 0% 0%
pidigits  #4 0.24  6,000 19,760 521 0.24 4% 0% 96% 0%
pidigits  #4 0.71  10,000 19,760 521 0.71 0% 100% 0% 1%
regex-redux  Make Error  50,000
source secs N mem gz cpu secs cpu load
regex-redux  #3 0.35  50,000 19,756 859 0.25 40% 0% 29% 0%
regex-redux  #3 1.35  500,000 31,552 859 1.86 2% 42% 7% 89%
regex-redux  #3 12.38  5,000,000 215,640 859 17.95 30% 1% 45% 70%
source secs N mem gz cpu secs cpu load
regex-redux  #6 0.09  50,000 19,936 2856 0.03 10% 22% 10% 0%
regex-redux  #6 0.18  500,000 33,672 2856 0.24 22% 76% 22% 17%
regex-redux  #6 1.15  5,000,000 276,336 2856 2.24 92% 40% 33% 34%
regex-redux  #2 Make Error  50,000
regex-redux  #5 Make Error  50,000
regex-redux  #4 Make Error  50,000
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.19  250,000 19,760 2099 0.01 5% 5% 0% 0%
reverse-complement  #2 0.74  100,000,001 499,916 2099 0.74 0% 0% 100% 2%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.25  250,000 19,760 704 0.13 0% 0% 53% 0%
reverse-complement  #5 37.59  100,000,001 771,632 704 37.58 72% 27% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  0.19  250,000 19,760 599 0.04 0% 0% 22% 5%
reverse-complement  6.52  100,000,001 980,156 599 6.51 0% 1% 100% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #6 0.17  250,000 19,760 1827 0.02 0% 5% 5% 0%
reverse-complement  #6 3.30  100,000,001 1,517,824 1827 4.38 22% 32% 66% 13%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.01  250,000 19,760 840 0.01 0% 0% 100% 50%
reverse-complement  #3 Bad Output  100,000,001
source secs N mem gz cpu secs cpu load
spectral-norm  #5 0.10  500 19,760 1050 0.07 11% 20% 18% 18%
spectral-norm  #5 0.40  3,000 19,760 1050 1.57 100% 100% 97% 97%
spectral-norm  #5 1.33  5,500 19,760 1050 5.28 99% 99% 100% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  #7 0.03  500 19,512 1284 0.06 50% 66% 50% 66%
spectral-norm  #7 0.45  3,000 19,512 1284 1.81 100% 100% 100% 100%
spectral-norm  #7 1.52  5,500 19,512 1284 6.04 99% 100% 99% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  0.14  500 19,760 459 0.07 0% 0% 6% 42%
spectral-norm  1.59  3,000 19,760 459 1.59 0% 0% 100% 0%
spectral-norm  5.33  5,500 19,760 459 5.33 0% 99% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #6 0.07  500 19,760 1050 0.03 14% 12% 12% 25%
spectral-norm  #6 0.22  3,000 19,760 1050 0.86 100% 95% 95% 100%
spectral-norm  #6 0.73  5,500 19,760 1050 2.86 100% 98% 100% 100%