The Computer Language
Benchmarks Game

all C gcc programs & measurements

gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0

source secs N mem gz cpu cpu load
binary-trees  #2 0.14  7 8 809 0.01 0% 8% 0% 80%
binary-trees  #2 0.01  14 0 809 0.03 100% 100% 67% 100%
binary-trees  #2 1.54  21 168,832 809 4.27 60% 67% 57% 100%
source secs N mem gz cpu cpu load
binary-trees  #3 0.13  7 8 836 0.01 62% 8% 8% 14%
binary-trees  #3 0.02  14 0 836 0.04 100% 50% 100% 0%
binary-trees  #3 1.79  21 119,812 836 4.76 53% 52% 99% 66%
source secs N mem gz cpu cpu load
binary-trees  0.15  7 8 654 0.00 69% 0% 7% 20%
binary-trees  0.10  14 3,784 654 0.10 10% 9% 27% 100%
binary-trees  22.10  21 263,568 654 22.09 100% 0% 0% 1%
source secs N mem gz cpu cpu load
binary-trees  #5 0.18  7 8 908 0.01 0% 28% 65% 78%
binary-trees  #5 0.05  14 796 908 0.14 80% 67% 83% 100%
binary-trees  #5 8.55  21 351,376 908 31.46 92% 93% 93% 91%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.25  10 692 1183 0.13 0% 71% 13% 4%
fannkuch-redux  #4 1.08  11 692 1183 1.08 0% 1% 1% 100%
fannkuch-redux  #4 13.95  12 768 1183 13.94 100% 1% 0% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.20  10 736 1557 0.28 53% 40% 63% 35%
fannkuch-redux  #2 0.82  11 808 1557 3.20 99% 99% 98% 95%
fannkuch-redux  #2 10.85  12 928 1557 42.67 100% 100% 98% 96%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.26  10 8 910 0.21 69% 19% 40% 73%
fannkuch-redux  #5 0.57  11 860 910 2.21 100% 98% 100% 98%
fannkuch-redux  #5 7.58  12 872 910 29.56 100% 98% 99% 93%
source secs N mem gz cpu cpu load
fannkuch-redux  0.42  10 764 508 0.30 5% 2% 88% 17%
fannkuch-redux  3.19  11 692 508 3.19 0% 0% 1% 100%
fannkuch-redux  42.06  12 768 508 42.06 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.39  10 756 567 0.29 0% 3% 10% 90%
fannkuch-redux  #3 3.15  11 696 567 3.15 0% 1% 0% 100%
fannkuch-redux  #3 42.04  12 768 567 42.04 0% 100% 0% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.15  250,000 8 2268 0.05 14% 7% 23% 73%
fasta  #2 0.10  2,500,000 2,924 2268 0.35 100% 91% 89% 89%
fasta  #2 0.82  25,000,000 2,936 2268 3.25 100% 100% 100% 99%
source secs N mem gz cpu cpu load
fasta  #9 0.20  250,000 8 1463 0.03 21% 53% 5% 35%
fasta  #9 0.11  2,500,000 768 1463 0.11 0% 100% 8% 0%
fasta  #9 0.78  25,000,000 1,156 1463 0.78 0% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #5 0.18  250,000 824 1281 0.05 17% 63% 6% 11%
fasta  #5 0.22  2,500,000 828 1281 0.22 0% 5% 100% 0%
fasta  #5 1.92  25,000,000 828 1281 1.92 0% 2% 100% 6%
source secs N mem gz cpu cpu load
fasta  #8 0.18  250,000 760 1293 0.06 12% 0% 53% 22%
fasta  #8 0.31  2,500,000 768 1293 0.31 0% 0% 0% 100%
fasta  #8 2.77  25,000,000 768 1293 2.77 0% 100% 1% 0%
source secs N mem gz cpu cpu load
fasta  #3 0.23  250,000 696 819 0.07 0% 22% 67% 22%
fasta  #3 0.50  2,500,000 692 819 0.50 0% 100% 0% 2%
fasta  #3 4.50  25,000,000 768 819 4.50 0% 100% 0% 0%
source secs N mem gz cpu cpu load
fasta  #7 0.17  250,000 8 2011 0.05 67% 41% 6% 33%
fasta  #7 0.10  2,500,000 2,848 2011 0.36 90% 100% 90% 89%
fasta  #7 0.84  25,000,000 2,924 2011 3.27 97% 98% 98% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.20  250,000 8 1240 0.07 11% 75% 0% 21%
fasta  #4 0.34  2,500,000 696 1240 0.34 100% 8% 0% 3%
fasta  #4 3.08  25,000,000 768 1240 3.08 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #6 0.15  250,000 8 1930 0.05 7% 44% 7% 73%
fasta  #6 0.12  2,500,000 2,348 1930 0.34 15% 100% 92% 92%
fasta  #6 0.93  25,000,000 2,380 1930 2.75 100% 97% 98% 0%
source secs N mem gz cpu cpu load
fasta  0.20  250,000 8 1206 0.07 15% 60% 10% 5%
fasta  0.40  2,500,000 756 1206 0.40 100% 0% 0% 3%
fasta  3.70  25,000,000 764 1206 3.70 100% 0% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  0.24  250,000 860 1506 0.17 58% 25% 26% 42%
k-nucleotide  0.60  2,500,000 20,380 1506 1.31 52% 48% 63% 67%
k-nucleotide  3.72  25,000,000 130,260 1506 12.03 100% 89% 78% 57%
source secs N mem gz cpu cpu load
mandelbrot  0.12  1,000 8 822 0.06 8% 25% 46% 67%
mandelbrot  0.23  4,000 1,056 822 0.88 96% 100% 100% 100%
mandelbrot  3.49  16,000 29,024 822 13.91 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.12  1,000 8 763 0.07 45% 25% 17% 46%
mandelbrot  #3 0.23  4,000 2,972 763 0.90 100% 100% 96% 96%
mandelbrot  #3 3.51  16,000 32,400 763 13.98 100% 99% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.14  1,000 8 694 0.09 15% 40% 47% 36%
mandelbrot  #9 0.27  4,000 2,968 694 1.03 96% 100% 96% 96%
mandelbrot  #9 4.16  16,000 33,116 694 16.02 95% 100% 95% 95%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.14  1,000 8 782 0.07 54% 14% 33% 29%
mandelbrot  #8 0.21  4,000 2,484 782 0.78 95% 95% 100% 95%
mandelbrot  #8 3.17  16,000 33,084 782 12.14 100% 94% 96% 94%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.16  1,000 8 1135 0.03 7% 41% 44% 25%
mandelbrot  #6 0.09  4,000 2,468 1135 0.34 100% 100% 90% 100%
mandelbrot  #6 1.27  16,000 31,792 1135 5.07 100% 100% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.31  1,000 756 400 0.14 17% 0% 65% 17%
mandelbrot  #2 1.61  4,000 760 400 1.61 1% 1% 0% 100%
mandelbrot  #2 25.41  16,000 764 400 25.41 0% 0% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.15  1,000 8 994 0.08 29% 40% 25% 29%
mandelbrot  #7 0.23  4,000 3,748 994 0.88 100% 100% 100% 100%
mandelbrot  #7 3.48  16,000 33,044 994 13.83 99% 100% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.16  1,000 8 799 0.08 19% 12% 65% 38%
mandelbrot  #4 0.23  4,000 1,764 799 0.89 100% 100% 100% 96%
mandelbrot  #4 3.46  16,000 32,552 799 13.81 100% 100% 100% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.25  500,000 1,016 1263 0.10 0% 0% 16% 77%
n-body  #2 0.68  5,000,000 1,020 1263 0.68 100% 0% 3% 0%
n-body  #2 6.64  50,000,000 1,084 1263 6.64 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #5 0.23  500,000 764 1429 0.10 17% 57% 22% 0%
n-body  #5 0.62  5,000,000 696 1429 0.61 2% 100% 2% 3%
n-body  #5 6.11  50,000,000 768 1429 6.11 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #8 0.11  500,000 280 1391 0.05 55% 0% 36% 27%
n-body  #8 0.45  5,000,000 8 1391 0.45 100% 0% 0% 7%
n-body  #8 4.35  50,000,000 8 1391 4.35 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  #6 0.30  500,000 1,024 1180 0.10 19% 0% 52% 31%
n-body  #6 0.66  5,000,000 1,024 1180 0.66 0% 0% 1% 100%
n-body  #6 6.47  50,000,000 1,084 1180 6.47 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  0.25  500,000 1,024 1173 0.11 13% 60% 4% 21%
n-body  0.70  5,000,000 1,084 1173 0.70 0% 100% 0% 0%
n-body  6.87  50,000,000 1,028 1173 6.87 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.29  500,000 1,012 1490 0.08 28% 4% 17% 83%
n-body  #4 0.45  5,000,000 1,016 1490 0.45 0% 100% 0% 2%
n-body  #4 4.41  50,000,000 1,080 1490 4.41 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.26  500,000 1,084 1208 0.11 0% 12% 74% 7%
n-body  #3 0.73  5,000,000 1,024 1208 0.73 3% 3% 0% 100%
n-body  #3 7.20  50,000,000 1,080 1208 7.20 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #9 0.18  500,000 700 1633 0.05 6% 17% 12% 72%
n-body  #9 0.23  5,000,000 764 1633 0.23 100% 8% 0% 0%
n-body  #9 2.18  50,000,000 768 1633 2.18 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #7 0.24  500,000 1,016 1244 0.10 4% 74% 0% 30%
n-body  #7 0.64  5,000,000 1,024 1244 0.64 0% 100% 0% 6%
n-body  #7 6.38  50,000,000 1,088 1244 6.38 0% 100% 0% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.19  2,000 312 416 0.06 0% 21% 0% 84%
pidigits  #2 0.28  6,000 2,280 416 0.28 0% 0% 100% 3%
pidigits  #2 0.81  10,000 2,804 416 0.81 1% 2% 99% 1%
source secs N mem gz cpu cpu load
pidigits  0.23  2,000 820 452 0.06 13% 0% 13% 83%
pidigits  0.31  6,000 2,256 452 0.31 0% 3% 0% 100%
pidigits  0.89  10,000 2,568 452 0.89 1% 1% 0% 100%
source secs N mem gz cpu cpu load
regex-redux  #5 0.16  50,000 8 1397 0.04 13% 41% 38% 41%
regex-redux  #5 0.14  500,000 16,868 1397 0.23 31% 71% 33% 43%
regex-redux  #5 0.80  5,000,000 152,172 1397 2.02 52% 99% 48% 53%
source secs N mem gz cpu cpu load
regex-redux  #3 0.21  50,000 2,256 1266 0.07 67% 5% 14% 30%
regex-redux  #3 0.23  500,000 12,316 1266 0.36 87% 26% 26% 35%
regex-redux  #3 1.72  5,000,000 103,572 1266 3.29 99% 39% 28% 28%
source secs N mem gz cpu cpu load
regex-redux  #2 0.23  50,000 2,872 1115 0.07 10% 5% 50% 13%
regex-redux  #2 0.40  500,000 11,824 1115 0.35 0% 93% 3% 0%
regex-redux  #2 3.21  5,000,000 103,040 1115 3.21 0% 100% 1% 0%
source secs N mem gz cpu cpu load
regex-redux  #4 0.18  50,000 328 1230 0.07 19% 47% 26% 6%
regex-redux  #4 0.15  500,000 16,852 1230 0.35 60% 65% 77% 53%
regex-redux  #4 0.95  5,000,000 152,164 1230 3.25 73% 83% 100% 88%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.19  250,000 8 647 0.02 0% 6% 61% 28%
reverse-complement  #5 1.41  100,000,000 993,912 647 1.41 0% 1% 0% 100%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.18  250,000 8 709 0.02 18% 22% 6% 75%
reverse-complement  #4 3.44  100,000,000 500,268 709 3.44 0% 0% 100% 1%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.18  250,000 8 750 0.02 63% 6% 16% 0%
reverse-complement  #2 0.97  100,000,000 994,172 750 1.44 15% 16% 86% 33%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.21  250,000 1,336 820 0.03 38% 15% 9% 18%
reverse-complement  #6 0.86  100,000,000 712,208 820 1.24 99% 28% 1% 19%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.14  500 8 463 0.07 21% 54% 33% 14%
spectral-norm  #3 0.43  3,000 1,180 463 1.70 100% 98% 100% 98%
spectral-norm  #3 1.43  5,500 1,184 463 5.68 99% 100% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  0.27  500 1,028 383 0.08 11% 4% 63% 0%
spectral-norm  1.61  3,000 1,020 383 1.61 100% 1% 0% 4%
spectral-norm  5.40  5,500 1,028 383 5.40 0% 0% 100% 4%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.13  500 8 1139 0.04 38% 57% 15% 13%
spectral-norm  #4 0.22  3,000 1,128 1139 0.87 100% 96% 96% 96%
spectral-norm  #4 0.73  5,500 1,192 1139 2.87 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.14  500 8 569 0.04 23% 21% 44% 8%
spectral-norm  #5 0.22  3,000 1,060 569 0.86 96% 100% 100% 100%
spectral-norm  #5 0.72  5,500 1,128 569 2.85 100% 99% 99% 100%
source secs N mem gz cpu cpu load
spectral-norm  #6 0.16  500 8 1197 0.02 0% 31% 53% 33%
spectral-norm  #6 0.13  3,000 804 1197 0.48 100% 92% 100% 92%
spectral-norm  #6 0.40  5,500 872 1197 1.56 100% 100% 100% 98%