The Computer Language
Benchmarks Game

all C gcc programs & measurements

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609

source secs N mem gz cpu cpu load
binary-trees  0.07  12 ? 706 0.07 88% 0% 0% 13%
binary-trees  1.62  16 9,604 706 1.62 0% 99% 2% 1%
binary-trees  38.37  20 132,440 706 38.33 100% 1% 1% 0%
source secs N mem gz cpu cpu load
binary-trees  #3 0.03  12 ? 906 0.04 50% 33% 50% 25%
binary-trees  #3 0.16  16 ? 906 0.46 63% 81% 65% 88%
binary-trees  #3 3.28  20 156,780 906 10.12 91% 77% 59% 83%
source secs N mem gz cpu cpu load
binary-trees  #5 0.06  12 ? 963 0.14 83% 50% 50% 100%
binary-trees  #5 1.00  16 16,148 963 3.46 89% 99% 75% 89%
binary-trees  #5 21.14  20 221,620 963 79.62 88% 97% 97% 97%
source secs N mem gz cpu cpu load
chameneos-redux  #5  60,000 ? 2863 0.02
chameneos-redux  #5 0.07  600,000 ? 2863 0.24 88% 86% 86% 100%
chameneos-redux  #5 0.59  6,000,000 780 2863 2.26 100% 97% 97% 98%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.09  60,000 ? 1663 0.28 50% 91% 89% 63%
chameneos-redux  #2 1.19  600,000 724 1663 3.84 89% 93% 83% 69%
chameneos-redux  #2 11.42  6,000,000 876 1663 36.97 93% 79% 76% 83%
source secs N mem gz cpu cpu load
fannkuch-redux  0.47  10 720 508 0.47 0% 0% 4% 100%
fannkuch-redux  5.90  11 808 508 5.90 1% 1% 1% 100%
fannkuch-redux  78.88  12 816 508 78.86 0% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.06  10 ? 910 0.22 86% 100% 100% 86%
fannkuch-redux  #5 0.68  11 1,492 910 2.65 99% 97% 99% 97%
fannkuch-redux  #5 9.07  12 1,576 910 35.43 100% 99% 98% 94%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.17  10 ? 1183 0.17 0% 100% 6% 0%
fannkuch-redux  #4 1.94  11 868 1183 1.93 99% 2% 2% 1%
fannkuch-redux  #4 24.64  12 816 1183 24.63 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.34  10 712 567 0.34 3% 0% 0% 100%
fannkuch-redux  #3 4.40  11 856 567 4.39 0% 1% 1% 100%
fannkuch-redux  #3 55.91  12 812 567 55.90 68% 1% 1% 32%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.09  10 ? 1557 0.32 100% 89% 100% 89%
fannkuch-redux  #2 1.10  11 728 1557 4.26 100% 99% 98% 94%
fannkuch-redux  #2 14.01  12 928 1557 54.57 95% 97% 100% 98%
source secs N mem gz cpu cpu load
fasta  #7 0.02  250,000 ? 1993 0.07 50% 50% 100% 100%
fasta  #7 0.16  2,500,000 ? 1993 0.57 93% 87% 88% 100%
fasta  #7 1.36  25,000,000 2,800 1993 5.26 96% 97% 100% 97%
source secs N mem gz cpu cpu load
fasta  #5 0.04  250,000 ? 1261 0.04 0% 0% 0% 100%
fasta  #5 0.36  2,500,000 720 1261 0.36 100% 3% 8% 0%
fasta  #5 3.27  25,000,000 864 1261 3.26 1% 1% 100% 2%
source secs N mem gz cpu cpu load
fasta  0.09  250,000 ? 1185 0.08 0% 100% 0% 0%
fasta  0.81  2,500,000 724 1185 0.80 2% 100% 1% 0%
fasta  7.69  25,000,000 812 1185 7.69 100% 1% 1% 1%
source secs N mem gz cpu cpu load
fasta  #6 0.03  250,000 ? 1914 0.07 100% 100% 67% 0%
fasta  #6 0.23  2,500,000 824 1914 0.62 96% 91% 95% 0%
fasta  #6 1.83  25,000,000 2,532 1914 5.38 98% 100% 1% 98%
source secs N mem gz cpu cpu load
fasta  #4 0.07  250,000 ? 1221 0.07 0% 0% 0% 100%
fasta  #4 0.65  2,500,000 720 1221 0.64 0% 0% 3% 99%
fasta  #4 6.06  25,000,000 868 1221 6.05 1% 100% 0% 1%
source secs N mem gz cpu cpu load
k-nucleotide  0.14  250,000 ? 1500 0.20 36% 57% 50% 54%
k-nucleotide  1.10  2,500,000 19,888 1500 1.86 47% 69% 55% 32%
k-nucleotide  6.46  25,000,000 130,076 1500 17.06 51% 37% 89% 88%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.01  1,000 ? 1135 0.03 0% 100% 100% 100%
mandelbrot  #6 0.12  4,000 ? 1135 0.45 100% 92% 100% 100%
mandelbrot  #6 1.64  16,000 29,588 1135 6.50 99% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.03  1,000 ? 799 0.10 100% 100% 75% 100%
mandelbrot  #4 0.40  4,000 1,540 799 1.53 97% 98% 95% 95%
mandelbrot  #4 6.04  16,000 29,984 799 24.06 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.03  1,000 ? 994 0.10 67% 100% 100% 100%
mandelbrot  #7 0.40  4,000 1,580 994 1.55 98% 98% 98% 100%
mandelbrot  #7 6.09  16,000 32,972 994 24.25 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.03  1,000 ? 782 0.08 100% 100% 100% 67%
mandelbrot  #8 0.32  4,000 1,444 782 1.20 100% 97% 100% 94%
mandelbrot  #8 4.84  16,000 33,048 782 18.80 96% 100% 96% 96%
source secs N mem gz cpu cpu load
mandelbrot  0.03  1,000 ? 822 0.10 100% 67% 100% 75%
mandelbrot  0.39  4,000 860 822 1.50 100% 97% 100% 97%
mandelbrot  5.95  16,000 28,100 822 23.73 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.04  1,000 ? 694 0.10 100% 33% 100% 100%
mandelbrot  #9 0.38  4,000 1,492 694 1.45 95% 95% 100% 97%
mandelbrot  #9 5.92  16,000 32,572 694 22.78 95% 95% 95% 100%
source secs N mem gz cpu cpu load
mandelbrot  #5 0.02  1,000 ? 911 0.04 100% 0% 100% 50%
mandelbrot  #5 0.12  4,000 ? 911 0.46 100% 100% 100% 100%
mandelbrot  #5 1.78  16,000 29,792 911 7.03 100% 99% 99% 98%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.03  1,000 ? 763 0.10 100% 100% 100% 67%
mandelbrot  #3 0.39  4,000 1,524 763 1.52 100% 98% 98% 98%
mandelbrot  #3 6.08  16,000 32,472 763 24.20 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.19  1,000 ? 400 0.19 0% 0% 5% 100%
mandelbrot  #2 2.98  4,000 756 400 2.98 1% 1% 100% 1%
mandelbrot  #2 47.35  16,000 716 400 47.34 0% 100% 1% 1%
source secs N mem gz cpu cpu load
meteor-contest  0.09  2,098 ? 3066 0.09 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #5 0.22  500,000 776 1429 0.21 5% 5% 0% 100%
n-body  #5 2.10  5,000,000 644 1429 2.10 100% 1% 0% 1%
n-body  #5 20.98  50,000,000 784 1429 20.97 1% 1% 100% 2%
source secs N mem gz cpu cpu load
n-body  #6 0.22  500,000 852 1180 0.22 5% 100% 0% 0%
n-body  #6 2.12  5,000,000 880 1180 2.11 1% 0% 100% 0%
n-body  #6 21.14  50,000,000 956 1180 21.13 100% 1% 1% 0%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 856 1173 0.22 5% 100% 0% 0%
n-body  2.12  5,000,000 936 1173 2.11 0% 100% 1% 0%
n-body  21.15  50,000,000 1,028 1173 21.14 1% 100% 0% 2%
source secs N mem gz cpu cpu load
n-body  #4 0.10  500,000 ? 1490 0.10 0% 0% 0% 100%
n-body  #4 0.96  5,000,000 1,008 1490 0.96 3% 2% 1% 100%
n-body  #4 9.56  50,000,000 1,000 1490 9.56 1% 100% 1% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.22  500,000 908 1208 0.22 0% 100% 0% 9%
n-body  #3 2.11  5,000,000 996 1208 2.10 0% 0% 100% 2%
n-body  #3 20.97  50,000,000 952 1208 20.96 1% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 1,000 1263 0.23 4% 0% 100% 4%
n-body  #2 2.25  5,000,000 820 1263 2.24 0% 1% 100% 1%
n-body  #2 22.38  50,000,000 1,028 1263 22.37 1% 0% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.06  2,000 ? 448 0.06 0% 0% 0% 100%
pidigits  0.60  6,000 732 448 0.59 3% 100% 0% 0%
pidigits  1.73  10,000 1,992 448 1.73 1% 100% 1% 0%
source secs N mem gz cpu cpu load
regex-dna  #4 0.10  50,000 ? 1525 0.26 89% 100% 78% 22%
regex-dna  #4 0.80  500,000 6,876 1525 2.37 67% 100% 70% 68%
regex-dna  #4 7.82  5,000,000 93,828 1525 23.53 100% 68% 67% 67%
source secs N mem gz cpu cpu load
regex-dna  #2 0.31  50,000 1,792 1099 0.31 7% 0% 6% 100%
regex-dna  #2 3.04  500,000 12,832 1099 3.03 4% 100% 1% 4%
regex-dna  #2 30.22  5,000,000 127,640 1099 30.20 1% 0% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  0.20  50,000 ? 2579 ? 85% 14% 11% 40%
regex-dna  0.39  500,000 920 2579 0.52 80% 26% 30% 30%
regex-dna  2.43  5,000,000 339,000 2579 5.68 46% 70% 51% 72%
source secs N mem gz cpu cpu load
reverse-complement  0.01  250,000 ? 1867 0.01 50% 50% 50% 0%
reverse-complement  0.08  2,500,000 ? 1867 0.12 75% 56% 56% 0%
reverse-complement  0.56  25,000,000 330,908 1867 0.90 43% 14% 84% 27%
source secs N mem gz cpu cpu load
reverse-complement  #5  250,000 ? 638 0.01
reverse-complement  #5 0.11  2,500,000 ? 638 0.10 100% 0% 0% 0%
reverse-complement  #5 0.70  25,000,000 249,652 638 0.70 0% 100% 0% 1%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.02  250,000 ? 704 0.02 0% 100% 0% 0%
reverse-complement  #4 0.12  2,500,000 ? 704 0.12 0% 100% 0% 0%
reverse-complement  #4 1.10  25,000,000 101,228 704 1.09 1% 100% 0% 1%
source secs N mem gz cpu cpu load
reverse-complement  #2  250,000 ? 741 0.01
reverse-complement  #2 0.09  2,500,000 ? 741 0.11 0% 44% 25% 55%
reverse-complement  #2 0.53  25,000,000 251,672 741 0.77 48% 81% 15% 19%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.06  250,000 ? 812 ? 100% 0% 17% 17%
reverse-complement  #6 0.50  2,500,000 ? 812 ? 10% 2% 98% 4%
reverse-complement  #6 0.42  25,000,000 145,900 812 0.57 0% 26% 20% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.14  500 ? 383 0.13 100% 0% 0% 0%
spectral-norm  4.67  3,000 1,044 383 4.67 1% 0% 0% 100%
spectral-norm  15.69  5,500 1,092 383 15.68 0% 100% 1% 0%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.04  500 ? 463 0.14 100% 100% 100% 100%
spectral-norm  #3 1.19  3,000 1,792 463 4.69 99% 99% 99% 100%
spectral-norm  #3 3.95  5,500 1,848 463 15.73 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.02  500 ? 1139 0.07 100% 100% 100% 100%
spectral-norm  #4 0.61  3,000 1,776 1139 2.36 98% 97% 98% 98%
spectral-norm  #4 1.98  5,500 1,776 1139 7.87 99% 99% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.02  500 ? 569 0.07 67% 100% 100% 67%
spectral-norm  #5 0.62  3,000 1,768 569 2.38 98% 97% 95% 97%
spectral-norm  #5 1.99  5,500 1,800 569 7.86 99% 100% 99% 99%
source secs N mem gz cpu cpu load
thread-ring  #3 1.52  500,000 9,460 916 1.51 99% 1% 0% 3%
thread-ring  #3 14.55  5,000,000 9,460 916 14.54 100% 2% 3% 0%
thread-ring  #3 146.51  50,000,000 9,476 916 146.46 100% 2% 1% 0%
source secs N mem gz cpu cpu load
thread-ring  1.69  500,000 7,452 487 2.21 32% 25% 26% 32%
thread-ring  17.53  5,000,000 7,436 487 22.97 29% 27% 26% 32%
thread-ring  171.55  50,000,000 7,416 487 224.64 41% 17% 16% 41%
source secs N mem gz cpu cpu load
thread-ring  #2 1.75  500,000 5,480 575 2.28 54% 9% 6% 54%
thread-ring  #2 18.45  5,000,000 5,480 575 24.23 19% 39% 38% 20%
thread-ring  #2 174.59  50,000,000 5,392 575 228.95 9% 51% 51% 9%
source secs N mem gz cpu cpu load
thread-ring  #4 1.76  500,000 9,532 761 2.30 4% 60% 59% 2%
thread-ring  #4 17.79  5,000,000 9,472 761 23.40 26% 31% 32% 27%
thread-ring  #4 174.53  50,000,000 9,532 761 229.76 16% 43% 43% 15%