The Computer Language
Benchmarks Game

all C++ g++ programs & measurements

g++ (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406

source secs N mem gz cpu cpu load
binary-trees  #3  7 ? 945 0.00
binary-trees  #3 0.02  14 ? 945 0.04 67% 33% 75% 50%
binary-trees  #3 4.23  21 265,132 945 10.75 71% 53% 54% 80%
source secs N mem gz cpu cpu load
binary-trees  #2 0.01  7 ? 508 0.00 0% 0% 0% 0%
binary-trees  #2 0.19  14 ? 508 0.18 11% 29% 100% 11%
binary-trees  #2 37.33  21 264,900 508 37.30 0% 100% 1% 0%
source secs N mem gz cpu cpu load
binary-trees   7 ? 754 0.00
binary-trees  0.05  14 ? 754 0.09 83% 33% 80% 75%
binary-trees  8.87  21 1,824,860 754 33.68 95% 95% 95% 99%
source secs N mem gz cpu cpu load
binary-trees  #8  7 ? 820 0.00
binary-trees  #8 0.02  14 ? 820 0.05 50% 100% 33% 50%
binary-trees  #8 4.73  21 265,496 820 13.62 41% 100% 67% 84%
source secs N mem gz cpu cpu load
binary-trees  #9  7 ? 809 0.00
binary-trees  #9 0.02  14 ? 809 0.05 100% 100% 100% 50%
binary-trees  #9 2.36  21 114,404 809 7.69 86% 71% 87% 85%
source secs N mem gz cpu cpu load
binary-trees  #6  7 ? 844 ?
binary-trees  #6 0.02  14 ? 844 0.05 67% 75% 100% 50%
binary-trees  #6 4.17  21 265,420 844 12.32 90% 75% 100% 36%
chameneos-redux  Make Error  60,000
source secs N mem gz cpu cpu load
chameneos-redux  #5 0.02  60,000 ? 1994 0.04 0% 50% 100% 100%
chameneos-redux  #5 0.09  600,000 ? 1994 0.29 78% 80% 100% 100%
chameneos-redux  #5 0.70  6,000,000 3,356 1994 2.65 100% 100% 91% 92%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.04  60,000 ? 2016 0.12 100% 80% 100% 67%
chameneos-redux  #2 0.35  600,000 776 2016 1.19 100% 97% 100% 51%
chameneos-redux  #2 3.40  6,000,000 1,880 2016 11.88 100% 51% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.10  10 ? 1439 0.39 100% 100% 92% 91%
fannkuch-redux  #4 1.23  11 1,928 1439 4.76 97% 97% 100% 98%
fannkuch-redux  #4 16.45  12 2,024 1439 64.16 100% 98% 96% 98%
source secs N mem gz cpu cpu load
fannkuch-redux  0.09  10 ? 1059 0.33 89% 100% 90% 89%
fannkuch-redux  1.09  11 1,744 1059 4.18 94% 97% 97% 100%
fannkuch-redux  14.75  12 1,824 1059 57.38 100% 98% 99% 94%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.07  10 ? 980 0.27 88% 88% 100% 100%
fannkuch-redux  #5 0.81  11 1,836 980 3.10 98% 96% 94% 99%
fannkuch-redux  #5 10.35  12 2,624 980 40.60 99% 99% 100% 95%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.09  10 ? 1440 0.32 100% 100% 100% 78%
fannkuch-redux  #2 1.04  11 1,928 1440 3.96 92% 96% 97% 100%
fannkuch-redux  #2 13.99  12 2,024 1440 54.70 98% 94% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.42  10 712 593 0.42 44% 100% 13% 7%
fannkuch-redux  #3 5.14  11 656 593 5.13 7% 9% 5% 100%
fannkuch-redux  #3 68.55  12 740 593 68.53 7% 100% 3% 5%
source secs N mem gz cpu cpu load
fannkuch-redux  #7 0.17  10 ? 1150 0.16 0% 0% 94% 20%
fannkuch-redux  #7 1.92  11 684 1150 1.92 1% 100% 1% 3%
fannkuch-redux  #7 24.42  12 736 1150 24.41 1% 2% 100% 0%
source secs N mem gz cpu cpu load
fasta  #4 0.07  250,000 ? 1266 0.06 0% 88% 0% 0%
fasta  #4 0.65  2,500,000 644 1266 0.64 3% 100% 2% 3%
fasta  #4 6.09  25,000,000 708 1266 6.08 1% 0% 100% 1%
fasta  #2 Make Error  250,000
source secs N mem gz cpu cpu load
fasta  #3 0.05  250,000 ? 1286 0.05 0% 0% 83% 0%
fasta  #3 0.46  2,500,000 1,540 1286 0.46 100% 2% 0% 0%
fasta  #3 4.20  25,000,000 1,700 1286 4.20 0% 1% 1% 100%
fasta  Make Error  250,000
source secs N mem gz cpu cpu load
fasta  #6 0.03  250,000 ? 2291 0.07 67% 67% 67% 50%
fasta  #6 0.16  2,500,000 ? 2291 0.56 81% 88% 88% 88%
fasta  #6 1.50  25,000,000 4,144 2291 5.28 89% 89% 89% 89%
source secs N mem gz cpu cpu load
fasta  #5 0.03  250,000 ? 2313 0.06 67% 100% 67% 67%
fasta  #5 0.17  2,500,000 ? 2313 0.57 83% 82% 88% 88%
fasta  #5 1.48  25,000,000 4,176 2313 5.25 89% 90% 88% 89%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.42  250,000 780 1252 0.72 73% 30% 50% 37%
k-nucleotide  #3 1.32  2,500,000 53,468 1252 2.93 85% 52% 65% 50%
k-nucleotide  #3 7.18  25,000,000 164,052 1252 24.28 83% 83% 93% 83%
source secs N mem gz cpu cpu load
k-nucleotide  0.24  250,000 796 1428 0.39 21% 4% 88% 67%
k-nucleotide  1.28  2,500,000 62,752 1428 2.01 42% 66% 12% 67%
k-nucleotide  8.67  25,000,000 756,560 1428 18.86 20% 87% 25% 89%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.03  1,000 ? 1017 0.11 100% 100% 75% 75%
mandelbrot  #7 0.40  4,000 920 1017 1.54 100% 98% 98% 97%
mandelbrot  #7 6.08  16,000 34,152 1017 24.20 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.03  1,000 ? 1035 0.12 100% 100% 100% 100%
mandelbrot  #4 0.44  4,000 3,532 1035 1.74 100% 98% 98% 100%
mandelbrot  #4 6.92  16,000 33,008 1035 27.57 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.03  1,000 ? 726 0.10 67% 75% 75% 100%
mandelbrot  #9 0.34  4,000 924 726 1.31 97% 100% 97% 97%
mandelbrot  #9 5.33  16,000 34,008 726 20.53 100% 95% 95% 96%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.34  1,000 768 414 0.34 0% 0% 3% 100%
mandelbrot  #3 5.28  4,000 1,688 414 5.28 100% 2% 1% 1%
mandelbrot  #3 83.90  16,000 1,744 414 83.88 0% 1% 100% 1%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.04  1,000 ? 742 0.10 33% 100% 50% 100%
mandelbrot  #8 0.50  4,000 4,532 742 1.36 98% 43% 100% 38%
mandelbrot  #8 7.88  16,000 33,976 742 21.41 100% 37% 100% 36%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.12  1,000 ? 687 0.12 0% 0% 100% 0%
mandelbrot  #2 1.86  4,000 4,504 687 1.85 99% 2% 1% 2%
mandelbrot  #2 29.35  16,000 34,060 687 29.34 1% 100% 1% 0%
source secs N mem gz cpu cpu load
mandelbrot  #5 0.10  1,000 ? 590 0.10 0% 0% 100% 0%
mandelbrot  #5 1.52  4,000 4,068 590 1.51 100% 0% 1% 1%
mandelbrot  #5 23.88  16,000 33,624 590 23.86 1% 0% 100% 0%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.01  1,000 ? 1002 0.03 50% 100% 100% 100%
mandelbrot  #6 0.17  4,000 ? 1002 0.47 82% 81% 88% 100%
mandelbrot  #6 1.73  16,000 34,064 1002 6.80 98% 98% 98% 99%
source secs N mem gz cpu cpu load
meteor-contest  #4 0.08  2,098 ? 5330 0.07 13% 100% 0% 0%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.16  2,098 ? 4080 0.16 0% 0% 100% 0%
source secs N mem gz cpu cpu load
meteor-contest  0.12  2,098 ? 4343 0.12 8% 0% 8% 100%
source secs N mem gz cpu cpu load
meteor-contest  #5 0.08  2,098 ? 5051 0.08 0% 100% 0% 0%
source secs N mem gz cpu cpu load
meteor-contest  #3 0.09  2,098 ? 4862 0.08 100% 0% 0% 0%
source secs N mem gz cpu cpu load
meteor-contest  #6  2,098 ? 2620 0.04
source secs N mem gz cpu cpu load
n-body  #3 0.10  500,000 ? 1763 0.10 0% 0% 0% 100%
n-body  #3 0.97  5,000,000 1,776 1763 0.97 0% 1% 0% 99%
n-body  #3 9.67  50,000,000 1,784 1763 9.66 1% 1% 100% 0%
source secs N mem gz cpu cpu load
n-body  0.20  500,000 ? 1659 0.20 95% 0% 0% 5%
n-body  1.97  5,000,000 1,008 1659 1.96 1% 100% 0% 0%
n-body  19.61  50,000,000 1,048 1659 19.60 1% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.21  500,000 716 1428 0.21 9% 5% 9% 95%
n-body  #4 2.08  5,000,000 740 1428 2.07 100% 0% 0% 0%
n-body  #4 20.72  50,000,000 688 1428 20.71 100% 0% 1% 1%
source secs N mem gz cpu cpu load
n-body  #8 0.10  500,000 ? 1544 0.10 0% 0% 0% 100%
n-body  #8 0.94  5,000,000 904 1544 0.94 0% 1% 1% 99%
n-body  #8 9.31  50,000,000 1,052 1544 9.30 1% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #6 0.21  500,000 944 1668 0.20 0% 95% 0% 0%
n-body  #6 2.06  5,000,000 1,060 1668 2.06 100% 1% 0% 2%
n-body  #6 20.56  50,000,000 1,052 1668 20.55 0% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #5 0.14  500,000 ? 1749 0.13 0% 0% 100% 0%
n-body  #5 1.30  5,000,000 1,688 1749 1.29 100% 2% 1% 0%
n-body  #5 12.83  50,000,000 1,700 1749 12.82 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #7 0.10  500,000 ? 1545 0.10 0% 9% 100% 0%
n-body  #7 1.00  5,000,000 1,048 1545 0.99 100% 0% 4% 2%
n-body  #7 9.78  50,000,000 1,004 1545 9.78 100% 1% 0% 1%
source secs N mem gz cpu cpu load
pidigits  #4 0.07  2,000 ? 508 0.07 0% 0% 89% 0%
pidigits  #4 0.65  6,000 3,556 508 0.65 2% 0% 2% 100%
pidigits  #4 1.89  10,000 3,868 508 1.89 100% 1% 2% 1%
pidigits  #3 Timed Out  2,000
regex-redux  #5 Failed  50,000
regex-redux  #2 Failed  50,000
regex-redux  Failed  50,000
source secs N mem gz cpu cpu load
regex-redux  #3 0.21  50,000 1,540 853 0.27 9% 5% 77% 64%
regex-redux  #3 1.99  500,000 36,336 853 3.12 1% 100% 2% 58%
regex-redux  #3 17.14  5,000,000 220,088 853 25.22 95% 3% 51% 1%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.03  250,000 ? 1752 0.03 0% 33% 0% 0%
reverse-complement  #6 0.18  2,500,000 ? 1752 0.24 50% 33% 37% 28%
reverse-complement  #6 1.38  25,000,000 399,452 1752 2.10 31% 24% 99% 7%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.09  250,000 ? 1082 ? 0% 0% 11% 100%
reverse-complement  #2 0.53  2,500,000 ? 1082 ? 4% 4% 4% 100%
reverse-complement  #2 0.79  25,000,000 248,924 1082 1.07 13% 13% 41% 73%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.08  250,000 ? 2275 ? 22% 100% 0% 0%
reverse-complement  #4 0.47  2,500,000 ? 2275 ? 11% 2% 53% 46%
reverse-complement  #4 0.60  25,000,000 211,852 2275 0.98 38% 25% 82% 27%
source secs N mem gz cpu cpu load
reverse-complement  0.03  250,000 ? 571 0.03 0% 0% 100% 0%
reverse-complement  0.31  2,500,000 796 571 0.30 0% 0% 3% 97%
reverse-complement  2.59  25,000,000 247,896 571 2.58 1% 1% 100% 1%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.20  250,000 ? 646 0.20 0% 0% 0% 95%
reverse-complement  #5 1.97  2,500,000 16,880 646 1.96 1% 1% 99% 1%
reverse-complement  #5 19.01  25,000,000 160,680 646 19.00 1% 0% 100% 1%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 810 0.02 50% 0% 0% 0%
reverse-complement  #3 0.15  2,500,000 ? 810 0.15 12% 100% 0% 0%
reverse-complement  #3 1.13  25,000,000 127,072 810 1.12 4% 100% 3% 1%
source secs N mem gz cpu cpu load
spectral-norm  0.14  500 ? 452 0.14 0% 0% 100% 7%
spectral-norm  4.86  3,000 1,680 452 4.85 0% 1% 1% 100%
spectral-norm  16.31  5,500 3,192 452 16.30 1% 1% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  #6 0.02  500 ? 1044 0.08 100% 100% 100% 100%
spectral-norm  #6 0.61  3,000 1,828 1044 2.37 98% 98% 98% 100%
spectral-norm  #6 1.99  5,500 1,880 1044 7.89 100% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.03  500 ? 1044 0.10 67% 100% 100% 67%
spectral-norm  #5 0.63  3,000 1,748 1044 2.40 98% 98% 97% 97%
spectral-norm  #5 2.02  5,500 2,544 1044 7.97 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #8 0.03  500 ? 1278 0.09 100% 100% 100% 67%
spectral-norm  #8 0.66  3,000 1,764 1278 2.54 98% 98% 97% 97%
spectral-norm  #8 2.00  5,500 1,880 1278 7.92 99% 100% 100% 100%
source secs N mem gz cpu cpu load
thread-ring  #5 4.15  500,000 11,076 652 10.06 64% 63% 63% 63%
thread-ring  #5 40.89  5,000,000 11,000 652 99.07 62% 62% 61% 62%
thread-ring  #5 408.63  50,000,000 10,932 652 988.34 62% 62% 62% 62%
source secs N mem gz cpu cpu load
thread-ring  #2 1.75  500,000 8,412 588 1.84 39% 10% 43% 13%
thread-ring  #2 17.37  5,000,000 8,400 588 18.35 24% 24% 29% 27%
thread-ring  #2 174.67  50,000,000 8,432 588 180.86 30% 26% 23% 24%
source secs N mem gz cpu cpu load
thread-ring  2.25  500,000 6,996 636 2.52 34% 35% 30% 13%
thread-ring  21.44  5,000,000 7,060 636 25.60 28% 27% 34% 30%
thread-ring  207.64  50,000,000 6,988 636 266.34 35% 31% 30% 30%
source secs N mem gz cpu cpu load
thread-ring  #4 4.12  500,000 10,928 572 9.94 63% 62% 61% 61%
thread-ring  #4 40.92  5,000,000 11,112 572 98.92 62% 62% 61% 61%
thread-ring  #4 408.21  50,000,000 10,940 572 984.77 62% 62% 61% 61%