The Computer Language
Benchmarks Game

all C gcc programs & measurements

gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0

source secs N mem gz cpu cpu load
binary-trees  #3 0.14  7 0 836 0.01 0% 0% 33% 57%
binary-trees  #3 0.02  14 0 836 0.05 100% 67% 0% 50%
binary-trees  #3 1.96  21 103,240 836 5.49 100% 65% 59% 58%
source secs N mem gz cpu cpu load
binary-trees  #2 0.14  7 0 809 0.01 13% 50% 0% 27%
binary-trees  #2 0.02  14 0 809 0.05 50% 100% 50% 100%
binary-trees  #2 1.97  21 168,724 809 5.62 63% 65% 99% 60%
source secs N mem gz cpu cpu load
binary-trees  #5 0.08  7 0 908 0.00 0% 71% 0% 0%
binary-trees  #5 0.05  14 0 908 0.14 80% 60% 100% 80%
binary-trees  #5 8.26  21 351,308 908 29.89 82% 95% 93% 93%
source secs N mem gz cpu cpu load
binary-trees  0.09  7 0 654 0.00 30% 0% 40% 0%
binary-trees  0.09  14 0 654 0.09 0% 0% 0% 100%
binary-trees  19.73  21 263,652 654 19.72 83% 0% 0% 17%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.19  10 0 1183 0.10 62% 20% 50% 10%
fannkuch-redux  #4 1.08  11 596 1183 1.08 0% 0% 1% 100%
fannkuch-redux  #4 13.93  12 592 1183 13.92 1% 0% 100% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.14  10 0 910 0.21 54% 47% 86% 38%
fannkuch-redux  #5 0.69  11 692 910 2.22 100% 78% 83% 83%
fannkuch-redux  #5 7.45  12 692 910 28.97 93% 100% 100% 98%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.17  10 0 1557 0.27 44% 82% 47% 44%
fannkuch-redux  #2 0.83  11 564 1557 3.21 99% 99% 95% 100%
fannkuch-redux  #2 10.87  12 764 1557 42.53 97% 100% 98% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.33  10 596 567 0.25 76% 0% 24% 3%
fannkuch-redux  #3 3.02  11 524 567 3.02 0% 100% 4% 2%
fannkuch-redux  #3 39.88  12 596 567 39.88 100% 1% 2% 2%
source secs N mem gz cpu cpu load
fannkuch-redux  0.37  10 584 508 0.27 3% 19% 70% 22%
fannkuch-redux  3.15  11 520 508 3.15 100% 7% 5% 2%
fannkuch-redux  42.01  12 592 508 42.01 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.13  250,000 0 2268 0.06 38% 8% 25% 38%
fasta  #2 0.09  2,500,000 0 2268 0.34 89% 100% 88% 89%
fasta  #2 0.82  25,000,000 2,888 2268 3.25 100% 99% 100% 100%
source secs N mem gz cpu cpu load
fasta  #7 0.12  250,000 0 2011 0.06 50% 33% 33% 17%
fasta  #7 0.10  2,500,000 0 2011 0.34 89% 100% 89% 80%
fasta  #7 0.84  25,000,000 2,876 2011 3.27 96% 98% 98% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.12  250,000 0 1240 0.04 0% 0% 38% 33%
fasta  #4 0.33  2,500,000 528 1240 0.33 3% 6% 3% 100%
fasta  #4 3.06  25,000,000 592 1240 3.06 2% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #5 0.13  250,000 0 1281 0.03 50% 54% 21% 0%
fasta  #5 0.22  2,500,000 660 1281 0.21 0% 100% 0% 0%
fasta  #5 1.92  25,000,000 660 1281 1.91 0% 1% 0% 100%
source secs N mem gz cpu cpu load
fasta  0.12  250,000 0 1206 0.05 42% 75% 9% 0%
fasta  0.39  2,500,000 592 1206 0.39 0% 0% 97% 3%
fasta  3.64  25,000,000 596 1206 3.64 0% 100% 0% 0%
source secs N mem gz cpu cpu load
fasta  #6 0.12  250,000 0 1930 0.05 0% 83% 31% 0%
fasta  #6 0.12  2,500,000 0 1930 0.33 17% 92% 100% 92%
fasta  #6 0.95  25,000,000 2,360 1930 2.78 96% 97% 2% 100%
source secs N mem gz cpu cpu load
k-nucleotide  0.23  250,000 0 1506 0.16 29% 26% 50% 39%
k-nucleotide  0.62  2,500,000 8,936 1506 1.25 34% 56% 75% 48%
k-nucleotide  3.43  25,000,000 130,252 1506 11.15 90% 92% 88% 56%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.11  1,000 0 782 0.07 36% 25% 27% 56%
mandelbrot  #8 0.21  4,000 692 782 0.79 95% 95% 95% 95%
mandelbrot  #8 3.15  16,000 29,148 782 12.07 100% 96% 94% 94%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.12  1,000 0 694 0.08 18% 25% 33% 45%
mandelbrot  #9 0.26  4,000 692 694 1.01 96% 96% 100% 96%
mandelbrot  #9 4.02  16,000 31,784 694 15.54 96% 100% 96% 96%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.12  1,000 0 1135 0.04 91% 0% 40% 27%
mandelbrot  #6 0.09  4,000 0 1135 0.34 89% 100% 100% 100%
mandelbrot  #6 1.26  16,000 24,836 1135 5.00 99% 100% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.11  1,000 0 763 0.08 27% 20% 58% 20%
mandelbrot  #3 0.23  4,000 1,640 763 0.89 96% 100% 100% 100%
mandelbrot  #3 3.50  16,000 32,444 763 13.92 99% 99% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.11  1,000 0 822 0.07 20% 10% 20% 50%
mandelbrot  0.23  4,000 572 822 0.89 100% 100% 96% 100%
mandelbrot  3.49  16,000 24,968 822 13.92 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.12  1,000 0 994 0.08 17% 54% 25% 25%
mandelbrot  #7 0.23  4,000 2,096 994 0.90 100% 100% 96% 100%
mandelbrot  #7 3.49  16,000 33,392 994 13.89 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.32  1,000 0 400 0.11 33% 18% 81% 0%
mandelbrot  #2 1.60  4,000 592 400 1.60 1% 1% 0% 100%
mandelbrot  #2 25.32  16,000 592 400 25.32 0% 1% 100% 0%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.12  1,000 0 799 0.08 83% 27% 33% 27%
mandelbrot  #4 0.25  4,000 692 799 0.92 92% 92% 100% 92%
mandelbrot  #4 3.45  16,000 29,192 799 13.79 100% 100% 100% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.19  500,000 0 1263 0.08 0% 5% 53% 32%
n-body  #2 0.67  5,000,000 920 1263 0.67 100% 1% 0% 0%
n-body  #2 6.63  50,000,000 924 1263 6.63 1% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #6 0.18  500,000 0 1180 0.07 0% 22% 56% 11%
n-body  #6 0.65  5,000,000 860 1180 0.65 100% 0% 2% 2%
n-body  #6 6.45  50,000,000 924 1180 6.44 0% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #8 0.13  500,000 0 1391 0.05 38% 42% 38% 7%
n-body  #8 0.44  5,000,000 8 1391 0.43 0% 0% 11% 100%
n-body  #8 4.25  50,000,000 8 1391 4.25 100% 0% 2% 0%
source secs N mem gz cpu cpu load
n-body  #3 0.18  500,000 0 1208 0.07 0% 47% 53% 6%
n-body  #3 0.63  5,000,000 856 1208 0.63 0% 100% 0% 2%
n-body  #3 6.16  50,000,000 924 1208 6.16 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #7 0.19  500,000 0 1244 0.07 21% 47% 5% 32%
n-body  #7 0.66  5,000,000 856 1244 0.66 100% 5% 22% 3%
n-body  #7 6.45  50,000,000 920 1244 6.45 100% 0% 1% 1%
source secs N mem gz cpu cpu load
n-body  #5 0.15  500,000 0 1429 0.07 27% 43% 19% 13%
n-body  #5 0.60  5,000,000 592 1429 0.60 0% 98% 0% 0%
n-body  #5 5.95  50,000,000 596 1429 5.95 100% 0% 1% 0%
source secs N mem gz cpu cpu load
n-body  0.19  500,000 0 1173 0.08 0% 53% 21% 30%
n-body  0.69  5,000,000 920 1173 0.69 100% 4% 0% 1%
n-body  6.85  50,000,000 924 1173 6.85 1% 100% 1% 1%
source secs N mem gz cpu cpu load
n-body  #4 0.16  500,000 0 1490 0.05 50% 19% 53% 24%
n-body  #4 0.44  5,000,000 856 1490 0.44 0% 2% 0% 100%
n-body  #4 4.29  50,000,000 924 1490 4.29 7% 1% 100% 0%
source secs N mem gz cpu cpu load
pidigits  0.16  2,000 0 452 0.04 50% 0% 33% 25%
pidigits  0.30  6,000 572 452 0.30 0% 100% 3% 0%
pidigits  0.88  10,000 2,660 452 0.88 1% 100% 1% 3%
source secs N mem gz cpu cpu load
pidigits  #2 0.19  2,000 0 416 0.04 0% 55% 26% 32%
pidigits  #2 0.28  6,000 636 416 0.28 100% 0% 0% 3%
pidigits  #2 0.81  10,000 2,664 416 0.81 1% 0% 100% 2%
source secs N mem gz cpu cpu load
regex-redux  #5 0.13  50,000 0 1397 0.05 17% 15% 36% 71%
regex-redux  #5 0.13  500,000 0 1397 0.24 33% 83% 33% 31%
regex-redux  #5 0.80  5,000,000 148,844 1397 2.01 53% 100% 54% 48%
source secs N mem gz cpu cpu load
regex-redux  #2 0.21  50,000 0 1115 0.04 24% 0% 14% 64%
regex-redux  #2 0.38  500,000 652 1115 0.33 0% 3% 3% 97%
regex-redux  #2 3.18  5,000,000 101,956 1115 3.17 1% 100% 0% 0%
source secs N mem gz cpu cpu load
regex-redux  #4 0.15  50,000 0 1230 0.07 57% 33% 13% 21%
regex-redux  #4 0.15  500,000 0 1230 0.36 50% 75% 60% 63%
regex-redux  #4 0.94  5,000,000 148,692 1230 3.25 85% 100% 73% 90%
source secs N mem gz cpu cpu load
regex-redux  #3 0.19  50,000 0 1266 0.07 21% 50% 22% 63%
regex-redux  #3 0.23  500,000 708 1266 0.35 32% 80% 25% 22%
regex-redux  #3 1.70  5,000,000 103,532 1266 3.27 36% 28% 29% 100%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.15  250,000 0 709 0.02 31% 0% 13% 0%
reverse-complement  #4 3.36  100,000,000 500,200 709 3.36 0% 0% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.15  250,000 0 820 0.03 21% 23% 0% 47%
reverse-complement  #6 0.86  100,000,000 624,308 820 1.24 27% 18% 99% 0%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.12  250,000 0 647 0.01 9% 50% 0% 0%
reverse-complement  #5 1.40  100,000,000 994,020 647 1.40 100% 1% 0% 1%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.12  250,000 0 750 0.01 8% 0% 36% 50%
reverse-complement  #2 0.97  100,000,000 994,224 750 1.44 34% 17% 14% 87%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.13  500 0 1139 0.05 8% 71% 23% 36%
spectral-norm  #4 0.23  3,000 948 1139 0.88 96% 96% 100% 100%
spectral-norm  #4 0.72  5,500 2,356 1139 2.85 99% 100% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.14  500 0 569 0.04 79% 40% 27% 7%
spectral-norm  #5 0.23  3,000 948 569 0.88 100% 100% 100% 100%
spectral-norm  #5 0.72  5,500 1,020 569 2.85 100% 100% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.14  500 0 463 0.07 29% 14% 54% 43%
spectral-norm  #3 0.44  3,000 956 463 1.71 98% 98% 98% 100%
spectral-norm  #3 1.43  5,500 1,020 463 5.68 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  0.15  500 0 383 0.05 43% 0% 14% 50%
spectral-norm  1.59  3,000 860 383 1.59 1% 100% 1% 0%
spectral-norm  5.33  5,500 920 383 5.33 1% 3% 0% 100%