The Computer Language
Benchmarks Game

all C gcc programs & measurements

gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0

source secs N mem gz cpu cpu load
binary-trees  #5  7 ? 908 0.00
binary-trees  #5 0.11  14 ? 908 0.31 73% 83% 83% 82%
binary-trees  #5 19.05  21 351,304 908 68.47 91% 80% 98% 91%
source secs N mem gz cpu cpu load
binary-trees  #3  7 ? 836 0.00
binary-trees  #3 0.03  14 ? 836 0.05 67% 67% 50% 67%
binary-trees  #3 2.44  21 133,956 836 7.57 80% 65% 68% 100%
source secs N mem gz cpu cpu load
binary-trees   7 ? 654 0.00
binary-trees  0.15  14 ? 654 0.15 7% 7% 100% 0%
binary-trees  37.09  21 263,700 654 37.06 0% 1% 0% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #5  60,000 ? 2868 0.03
chameneos-redux  #5 0.07  600,000 ? 2868 0.27 100% 100% 100% 88%
chameneos-redux  #5 0.61  6,000,000 980 2868 2.38 100% 97% 98% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.12  60,000 ? 1667 0.36 50% 92% 83% 90%
chameneos-redux  #2 0.90  600,000 1,032 1667 2.35 38% 70% 66% 95%
chameneos-redux  #2 8.24  6,000,000 1,076 1667 21.23 69% 35% 88% 71%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.27  10 900 567 0.27 27% 96% 12% 25%
fannkuch-redux  #3 3.43  11 852 567 3.43 10% 100% 4% 11%
fannkuch-redux  #3 47.88  12 896 567 47.87 0% 0% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.15  10 ? 1183 0.15 100% 12% 13% 38%
fannkuch-redux  #4 1.80  11 796 1183 1.80 100% 15% 11% 2%
fannkuch-redux  #4 22.66  12 852 1183 22.65 0% 100% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.10  10 ? 910 0.23 60% 90% 90% 60%
fannkuch-redux  #5 1.03  11 972 910 2.66 69% 68% 97% 65%
fannkuch-redux  #5 8.66  12 980 910 34.22 100% 97% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.15  10 ? 1557 0.38 100% 64% 67% 87%
fannkuch-redux  #2 1.51  11 992 1557 4.54 72% 99% 77% 77%
fannkuch-redux  #2 15.50  12 948 1557 60.65 96% 99% 97% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.42  10 688 508 0.42 100% 0% 0% 5%
fannkuch-redux  5.31  11 796 508 5.30 0% 6% 5% 100%
fannkuch-redux  72.31  12 812 508 72.30 100% 0% 1% 0%
source secs N mem gz cpu cpu load
fasta  #5 0.04  250,000 ? 1281 0.04 75% 33% 33% 0%
fasta  #5 0.31  2,500,000 876 1281 0.31 21% 36% 100% 7%
fasta  #5 2.74  25,000,000 860 1281 2.73 0% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.07  250,000 ? 1240 0.07 14% 100% 25% 50%
fasta  #4 0.66  2,500,000 756 1240 0.65 2% 32% 24% 100%
fasta  #4 6.07  25,000,000 896 1240 6.06 100% 1% 1% 1%
source secs N mem gz cpu cpu load
fasta  #2 0.03  250,000 ? 2268 0.09 67% 75% 100% 100%
fasta  #2 0.20  2,500,000 ? 2268 0.68 95% 95% 100% 100%
fasta  #2 1.32  25,000,000 2,912 2268 5.25 100% 99% 100% 99%
source secs N mem gz cpu cpu load
fasta  0.09  250,000 ? 1206 0.09 0% 100% 25% 0%
fasta  0.81  2,500,000 776 1206 0.81 18% 9% 100% 18%
fasta  7.66  25,000,000 900 1206 7.66 100% 1% 0% 0%
source secs N mem gz cpu cpu load
fasta  #6 0.03  250,000 ? 1930 0.08 100% 75% 0% 67%
fasta  #6 0.30  2,500,000 1,028 1930 0.75 78% 84% 37% 93%
fasta  #6 1.82  25,000,000 2,660 1930 5.37 5% 98% 98% 100%
source secs N mem gz cpu cpu load
fasta  #7 0.14  250,000 ? 2011 0.40 92% 86% 100% 92%
fasta  #7 0.45  2,500,000 2,892 2011 1.42 91% 98% 93% 95%
fasta  #7 1.36  25,000,000 2,896 2011 5.28 100% 98% 97% 96%
source secs N mem gz cpu cpu load
k-nucleotide  0.16  250,000 ? 1506 0.26 67% 63% 38% 71%
k-nucleotide  1.04  2,500,000 19,940 1506 2.07 63% 99% 48% 39%
k-nucleotide  6.67  25,000,000 130,160 1506 19.33 76% 50% 92% 75%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.03  1,000 ? 782 0.09 67% 100% 100% 67%
mandelbrot  #8 0.43  4,000 1,820 782 1.26 87% 90% 100% 84%
mandelbrot  #8 4.89  16,000 31,100 782 18.96 100% 96% 97% 96%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.03  1,000 ? 694 0.11 100% 100% 67% 100%
mandelbrot  #9 0.43  4,000 2,324 694 1.47 93% 93% 98% 86%
mandelbrot  #9 5.84  16,000 32,912 694 22.53 96% 96% 96% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.02  1,000 ? 1135 0.05 50% 100% 100% 100%
mandelbrot  #6 0.16  4,000 ? 1135 0.46 81% 100% 94% 81%
mandelbrot  #6 1.64  16,000 29,424 1135 6.53 99% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.03  1,000 ? 822 0.11 75% 100% 100% 100%
mandelbrot  0.48  4,000 856 822 1.67 98% 100% 100% 100%
mandelbrot  6.42  16,000 27,892 822 25.58 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.03  1,000 ? 763 0.10 100% 100% 100% 100%
mandelbrot  #3 0.49  4,000 3,180 763 1.57 98% 98% 100% 98%
mandelbrot  #3 5.90  16,000 32,516 763 23.47 100% 99% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.04  1,000 ? 799 0.13 75% 75% 67% 100%
mandelbrot  #4 0.53  4,000 2,744 799 1.52 74% 98% 85% 72%
mandelbrot  #4 5.91  16,000 32,728 799 23.43 99% 99% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.03  1,000 ? 994 0.11 100% 100% 100% 100%
mandelbrot  #7 0.40  4,000 2,024 994 1.54 100% 98% 98% 100%
mandelbrot  #7 6.10  16,000 33,060 994 24.24 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.19  1,000 ? 400 0.19 6% 65% 100% 18%
mandelbrot  #2 2.98  4,000 752 400 2.98 5% 9% 100% 5%
mandelbrot  #2 47.28  16,000 896 400 47.27 0% 0% 1% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.08  2,098 ? 3073 0.08 0% 22% 100% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.22  500,000 1,124 1263 0.22 5% 5% 23% 100%
n-body  #2 2.18  5,000,000 1,056 1263 2.18 14% 100% 1% 10%
n-body  #2 21.70  50,000,000 1,160 1263 21.69 0% 1% 100% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.10  500,000 ? 1490 0.10 100% 38% 0% 0%
n-body  #4 0.93  5,000,000 1,140 1490 0.93 99% 14% 7% 1%
n-body  #4 9.12  50,000,000 1,176 1490 9.12 1% 100% 2% 2%
source secs N mem gz cpu cpu load
n-body  #3 0.24  500,000 1,060 1208 0.24 100% 9% 8% 27%
n-body  #3 2.35  5,000,000 1,028 1208 2.35 1% 3% 100% 0%
n-body  #3 23.44  50,000,000 1,164 1208 23.43 0% 0% 1% 100%
source secs N mem gz cpu cpu load
n-body  0.21  500,000 ? 1173 0.21 100% 33% 22% 10%
n-body  2.02  5,000,000 1,028 1173 2.02 2% 11% 14% 100%
n-body  20.13  50,000,000 1,160 1173 20.13 0% 1% 100% 0%
source secs N mem gz cpu cpu load
n-body  #6 0.21  500,000 1,040 1180 0.21 0% 25% 35% 100%
n-body  #6 2.11  5,000,000 1,076 1180 2.10 2% 12% 12% 100%
n-body  #6 21.00  50,000,000 1,160 1180 21.00 2% 1% 100% 2%
source secs N mem gz cpu cpu load
n-body  #5 0.22  500,000 900 1429 0.21 5% 95% 15% 14%
n-body  #5 2.04  5,000,000 800 1429 2.04 100% 11% 9% 3%
n-body  #5 20.33  50,000,000 816 1429 20.33 100% 1% 1% 0%
source secs N mem gz cpu cpu load
pidigits  0.06  2,000 ? 452 0.06 86% 14% 0% 83%
pidigits  0.59  6,000 1,976 452 0.59 100% 14% 21% 30%
pidigits  1.74  10,000 2,716 452 1.74 100% 1% 1% 2%
source secs N mem gz cpu cpu load
regex-redux  #2 0.05  50,000 ? 1115 0.04 100% 0% 0% 0%
regex-redux  #2 0.42  500,000 11,796 1115 0.42 15% 24% 100% 17%
regex-redux  #2 4.12  5,000,000 103,028 1115 4.12 100% 0% 0% 1%
source secs N mem gz cpu cpu load
regex-redux  #3 0.03  50,000 ? 1266 0.06 33% 100% 50% 67%
regex-redux  #3 0.25  500,000 2,080 1266 0.43 35% 100% 32% 28%
regex-redux  #3 2.37  5,000,000 103,436 1266 4.16 100% 24% 32% 23%
source secs N mem gz cpu cpu load
regex-redux  #4 0.02  50,000 ? 1230 0.05 100% 100% 50% 100%
regex-redux  #4 0.17  500,000 ? 1230 0.44 72% 71% 65% 94%
regex-redux  #4 1.48  5,000,000 152,352 1230 4.05 59% 99% 57% 61%
source secs N mem gz cpu cpu load
reverse-complement  #6  250,000 ? 820 0.02
reverse-complement  #6 0.08  2,500,000 ? 820 0.13 43% 25% 57% 88%
reverse-complement  #6 0.48  25,000,000 200,492 820 0.66 4% 19% 25% 98%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.06  250,000 ? 709 ? 0% 0% 100% 0%
reverse-complement  #4 0.46  2,500,000 ? 709 ? 41% 2% 2% 5%
reverse-complement  #4 1.10  25,000,000 125,820 709 1.09 100% 1% 0% 5%
source secs N mem gz cpu cpu load
reverse-complement  0.01  250,000 ? 1874 0.02 50% 0% 0% 50%
reverse-complement  0.09  2,500,000 ? 1874 0.14 78% 38% 50% 38%
reverse-complement  0.62  25,000,000 399,852 1874 0.91 10% 26% 32% 84%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.02  250,000 ? 750 0.02 50% 0% 0% 100%
reverse-complement  #2 0.10  2,500,000 ? 750 0.13 40% 20% 100% 44%
reverse-complement  #2 0.57  25,000,000 249,600 750 0.82 19% 19% 42% 70%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.07  250,000 ? 647 ? 60% 0% 0% 0%
reverse-complement  #5 0.47  2,500,000 ? 647 ? 6% 55% 63% 2%
reverse-complement  #5 0.71  25,000,000 249,564 647 0.71 0% 56% 48% 0%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.08  500 ? 463 0.24 86% 86% 88% 86%
spectral-norm  #3 1.55  3,000 1,300 463 4.89 85% 90% 90% 86%
spectral-norm  #3 3.97  5,500 1,328 463 15.75 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.05  500 ? 1139 0.13 100% 80% 100% 100%
spectral-norm  #4 1.06  3,000 1,288 1139 2.82 84% 80% 79% 81%
spectral-norm  #4 2.16  5,500 1,296 1139 8.50 98% 99% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  0.14  500 ? 383 0.14 14% 100% 21% 7%
spectral-norm  4.68  3,000 1,144 383 4.67 3% 10% 8% 100%
spectral-norm  15.69  5,500 1,240 383 15.69 100% 0% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.12  500 ? 569 0.32 83% 92% 85% 80%
spectral-norm  #5 0.99  3,000 1,216 569 2.69 76% 88% 88% 81%
spectral-norm  #5 2.00  5,500 1,300 569 7.89 99% 99% 100% 99%
source secs N mem gz cpu cpu load
thread-ring  #3 1.67  500,000 5,568 916 1.67 99% 1% 1% 2%
thread-ring  #3 16.52  5,000,000 5,680 916 16.52 100% 0% 0% 2%
thread-ring  #3 165.41  50,000,000 5,624 916 165.35 100% 0% 0% 1%
source secs N mem gz cpu cpu load
thread-ring  #2 1.72  500,000 5,504 575 2.28 6% 56% 54% 9%
thread-ring  #2 18.86  5,000,000 5,504 575 23.77 30% 35% 34% 30%
thread-ring  #2 168.51  50,000,000 5,556 575 223.96 27% 33% 32% 27%
source secs N mem gz cpu cpu load
thread-ring  #4 1.74  500,000 5,512 761 2.31 54% 8% 5% 57%
thread-ring  #4 17.01  5,000,000 5,560 761 22.60 41% 19% 18% 41%
thread-ring  #4 170.16  50,000,000 5,516 761 225.69 26% 32% 32% 27%
source secs N mem gz cpu cpu load
thread-ring  1.65  500,000 7,356 487 2.19 54% 9% 6% 53%
thread-ring  16.39  5,000,000 7,384 487 21.74 31% 27% 27% 32%
thread-ring  161.26  50,000,000 7,456 487 214.45 33% 27% 26% 33%