The Computer Language
Benchmarks Game

all C gcc programs & measurements

gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406

source secs N mem gz cpu cpu load
binary-trees   7 ? 654 ?
binary-trees  0.16  14 ? 654 0.16 0% 0% 100% 57%
binary-trees  35.57  21 263,492 654 35.54 1% 1% 100% 0%
source secs N mem gz cpu cpu load
binary-trees  #3  7 ? 836 ?
binary-trees  #3 0.02  14 ? 836 0.05 50% 50% 100% 50%
binary-trees  #3 2.38  21 131,728 836 7.70 98% 87% 73% 68%
source secs N mem gz cpu cpu load
binary-trees  #5  7 ? 908 ?
binary-trees  #5 0.11  14 ? 908 0.36 82% 82% 83% 100%
binary-trees  #5 20.52  21 353,080 908 77.16 96% 95% 94% 92%
source secs N mem gz cpu cpu load
chameneos-redux  #5 0.01  60,000 ? 2863 0.03 100% 100% 100% 100%
chameneos-redux  #5 0.11  600,000 ? 2863 0.32 70% 60% 100% 100%
chameneos-redux  #5 0.60  6,000,000 820 2863 2.37 100% 100% 98% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.12  60,000 ? 1663 0.40 100% 91% 100% 58%
chameneos-redux  #2 1.13  600,000 840 1663 3.82 97% 96% 80% 74%
chameneos-redux  #2 11.75  6,000,000 832 1663 39.47 96% 95% 85% 70%
source secs N mem gz cpu cpu load
fannkuch-redux  0.47  10 680 508 0.46 2% 2% 100% 4%
fannkuch-redux  5.94  11 676 508 5.94 2% 0% 14% 87%
fannkuch-redux  79.64  12 736 508 79.62 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.06  10 ? 910 0.22 86% 100% 83% 100%
fannkuch-redux  #5 0.69  11 1,596 910 2.62 91% 97% 96% 100%
fannkuch-redux  #5 8.97  12 1,660 910 35.00 98% 94% 99% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.16  10 ? 1183 0.16 94% 7% 0% 6%
fannkuch-redux  #4 1.87  11 648 1183 1.86 15% 3% 4% 100%
fannkuch-redux  #4 23.78  12 740 1183 23.77 100% 0% 1% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.28  10 692 567 0.28 4% 0% 100% 15%
fannkuch-redux  #3 3.50  11 644 567 3.49 100% 1% 2% 2%
fannkuch-redux  #3 47.48  12 736 567 47.46 1% 100% 1% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.08  10 ? 1557 0.31 89% 89% 89% 89%
fannkuch-redux  #2 1.03  11 720 1557 3.97 100% 97% 93% 98%
fannkuch-redux  #2 13.81  12 872 1557 53.81 99% 100% 93% 100%
source secs N mem gz cpu cpu load
fasta  #7 0.03  250,000 ? 1993 0.09 100% 75% 67% 100%
fasta  #7 0.15  2,500,000 ? 1993 0.56 100% 93% 93% 88%
fasta  #7 1.38  25,000,000 2,792 1993 5.36 97% 96% 100% 96%
source secs N mem gz cpu cpu load
fasta  #2 0.02  250,000 ? 2249 0.07 100% 100% 100% 100%
fasta  #2 0.16  2,500,000 ? 2249 0.60 94% 94% 94% 94%
fasta  #2 1.33  25,000,000 2,856 2249 5.28 100% 99% 100% 99%
source secs N mem gz cpu cpu load
fasta  #5 0.04  250,000 ? 1261 0.04 0% 0% 0% 100%
fasta  #5 0.37  2,500,000 836 1261 0.36 6% 100% 0% 0%
fasta  #5 3.29  25,000,000 876 1261 3.29 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  0.09  250,000 ? 1185 0.08 89% 0% 0% 11%
fasta  0.80  2,500,000 804 1185 0.79 100% 3% 0% 1%
fasta  7.56  25,000,000 808 1185 7.56 1% 100% 0% 2%
source secs N mem gz cpu cpu load
fasta  #6 0.03  250,000 ? 1914 0.07 0% 100% 67% 100%
fasta  #6 0.23  2,500,000 1,588 1914 0.62 4% 87% 83% 100%
fasta  #6 1.88  25,000,000 2,528 1914 5.52 71% 51% 85% 89%
source secs N mem gz cpu cpu load
fasta  #4 0.07  250,000 ? 1221 0.06 100% 0% 0% 0%
fasta  #4 0.65  2,500,000 724 1221 0.64 5% 0% 2% 100%
fasta  #4 6.08  25,000,000 812 1221 6.08 1% 1% 0% 100%
source secs N mem gz cpu cpu load
k-nucleotide  0.06  250,000 ? 1499 0.19 83% 100% 83% 67%
k-nucleotide  0.78  2,500,000 20,016 1499 2.26 96% 74% 82% 42%
k-nucleotide  5.38  25,000,000 129,772 1499 16.37 61% 82% 89% 74%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.01  1,000 ? 1135 0.04 50% 100% 100% 100%
mandelbrot  #6 0.11  4,000 ? 1135 0.42 91% 100% 92% 100%
mandelbrot  #6 1.65  16,000 32,684 1135 6.53 99% 99% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.03  1,000 ? 799 0.10 100% 100% 100% 100%
mandelbrot  #4 0.39  4,000 1,564 799 1.48 97% 97% 95% 100%
mandelbrot  #4 5.88  16,000 30,224 799 23.40 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.04  1,000 ? 994 0.11 100% 75% 100% 60%
mandelbrot  #7 0.45  4,000 3,544 994 1.58 100% 100% 98% 100%
mandelbrot  #7 6.08  16,000 33,040 994 24.22 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.03  1,000 ? 782 0.10 67% 100% 67% 100%
mandelbrot  #8 0.31  4,000 1,584 782 1.20 97% 100% 97% 97%
mandelbrot  #8 4.88  16,000 32,824 782 18.94 96% 96% 96% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.03  1,000 ? 822 0.10 100% 100% 75% 100%
mandelbrot  0.47  4,000 760 822 1.66 98% 100% 98% 98%
mandelbrot  6.41  16,000 27,636 822 25.54 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.03  1,000 ? 694 0.10 100% 100% 100% 100%
mandelbrot  #9 0.39  4,000 1,556 694 1.48 95% 95% 100% 97%
mandelbrot  #9 6.00  16,000 32,552 694 23.14 100% 95% 95% 96%
source secs N mem gz cpu cpu load
mandelbrot  #5  1,000 ? 911 0.04
mandelbrot  #5 0.12  4,000 ? 911 0.45 92% 92% 100% 100%
mandelbrot  #5 1.76  16,000 28,692 911 6.96 99% 99% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.03  1,000 ? 763 0.10 75% 100% 100% 100%
mandelbrot  #3 0.38  4,000 1,744 763 1.48 97% 100% 97% 100%
mandelbrot  #3 5.88  16,000 32,512 763 23.44 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.19  1,000 ? 400 0.19 0% 0% 0% 100%
mandelbrot  #2 2.98  4,000 772 400 2.98 0% 1% 100% 1%
mandelbrot  #2 47.32  16,000 808 400 47.31 100% 0% 0% 1%
source secs N mem gz cpu cpu load
meteor-contest  0.09  2,098 ? 3066 0.08 0% 10% 100% 0%
source secs N mem gz cpu cpu load
n-body  #5 0.21  500,000 712 1429 0.21 5% 95% 9% 0%
n-body  #5 2.11  5,000,000 720 1429 2.10 0% 1% 100% 1%
n-body  #5 21.00  50,000,000 732 1429 20.99 0% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #6 0.21  500,000 968 1180 0.21 5% 100% 0% 0%
n-body  #6 2.08  5,000,000 928 1180 2.08 0% 0% 100% 1%
n-body  #6 20.75  50,000,000 968 1180 20.74 13% 100% 5% 6%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 860 1173 0.20 5% 95% 0% 5%
n-body  2.04  5,000,000 936 1173 2.03 1% 100% 1% 0%
n-body  20.27  50,000,000 1,020 1173 20.26 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.10  500,000 ? 1490 0.10 0% 0% 92% 0%
n-body  #4 1.00  5,000,000 920 1490 1.00 1% 2% 99% 1%
n-body  #4 9.96  50,000,000 1,016 1490 9.95 1% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.24  500,000 1,020 1208 0.24 4% 0% 4% 100%
n-body  #3 2.35  5,000,000 976 1208 2.34 1% 100% 1% 1%
n-body  #3 23.42  50,000,000 976 1208 23.41 100% 0% 0% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.22  500,000 968 1263 0.22 100% 0% 0% 0%
n-body  #2 2.17  5,000,000 856 1263 2.17 0% 0% 2% 100%
n-body  #2 21.67  50,000,000 1,016 1263 21.66 0% 0% 100% 1%
source secs N mem gz cpu cpu load
pidigits  0.06  2,000 ? 448 0.06 0% 0% 0% 100%
pidigits  0.59  6,000 724 448 0.59 2% 2% 98% 4%
pidigits  1.73  10,000 2,116 448 1.73 1% 99% 1% 0%
source secs N mem gz cpu cpu load
regex-redux  #4 0.02  50,000 ? 1230 0.05 67% 100% 100% 50%
regex-redux  #4 0.29  500,000 1,620 1230 0.44 82% 57% 45% 48%
regex-redux  #4 1.45  5,000,000 155,768 1230 4.03 61% 64% 56% 100%
source secs N mem gz cpu cpu load
regex-redux  #2 0.05  50,000 ? 1115 0.04 20% 20% 0% 100%
regex-redux  #2 0.42  500,000 12,816 1115 0.42 7% 5% 10% 100%
regex-redux  #2 4.14  5,000,000 106,152 1115 4.14 1% 100% 0% 1%
source secs N mem gz cpu cpu load
regex-redux  #3 0.04  50,000 ? 1266 0.06 67% 75% 50% 33%
regex-redux  #3 0.32  500,000 976 1266 0.50 31% 97% 38% 54%
regex-redux  #3 2.39  5,000,000 105,944 1266 4.17 100% 31% 23% 24%
source secs N mem gz cpu cpu load
reverse-complement  0.01  250,000 ? 1867 0.01 0% 100% 0% 0%
reverse-complement  0.08  2,500,000 ? 1867 0.13 0% 56% 63% 44%
reverse-complement  0.57  25,000,000 325,800 1867 0.90 0% 82% 35% 45%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.01  250,000 ? 638 0.01 0% 0% 100% 0%
reverse-complement  #5 0.11  2,500,000 ? 638 0.10 0% 0% 100% 0%
reverse-complement  #5 0.72  25,000,000 249,620 638 0.71 100% 3% 1% 0%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.02  250,000 ? 704 0.02 0% 0% 0% 100%
reverse-complement  #4 0.12  2,500,000 ? 704 0.12 0% 100% 0% 0%
reverse-complement  #4 1.08  25,000,000 102,984 704 1.08 2% 0% 3% 100%
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% 78% 22% 11%
reverse-complement  #2 0.53  25,000,000 251,496 741 0.79 21% 48% 67% 19%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.07  250,000 ? 812 ? 0% 14% 0% 100%
reverse-complement  #6 0.48  2,500,000 ? 812 ? 10% 2% 4% 98%
reverse-complement  #6 0.42  25,000,000 143,948 812 0.58 15% 26% 98% 2%
source secs N mem gz cpu cpu load
spectral-norm  0.13  500 ? 383 0.13 0% 0% 0% 100%
spectral-norm  4.67  3,000 924 383 4.67 0% 1% 100% 1%
spectral-norm  15.69  5,500 1,048 383 15.69 100% 0% 1% 3%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.04  500 ? 463 0.14 100% 100% 80% 100%
spectral-norm  #3 1.19  3,000 1,792 463 4.69 98% 99% 99% 99%
spectral-norm  #3 3.96  5,500 1,820 463 15.74 99% 100% 100% 99%
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,784 1139 2.37 98% 97% 97% 98%
spectral-norm  #4 1.99  5,500 1,824 1139 7.88 99% 99% 99% 100%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.02  500 ? 569 0.08 67% 67% 100% 67%
spectral-norm  #5 0.61  3,000 1,820 569 2.36 98% 100% 98% 98%
spectral-norm  #5 2.00  5,500 1,872 569 7.88 99% 99% 98% 100%
source secs N mem gz cpu cpu load
thread-ring  #3 1.57  500,000 9,468 916 1.57 99% 3% 2% 1%
thread-ring  #3 15.09  5,000,000 9,444 916 15.08 100% 0% 1% 1%
thread-ring  #3 152.29  50,000,000 9,476 916 152.23 100% 0% 1% 0%
source secs N mem gz cpu cpu load
thread-ring  1.61  500,000 8,444 487 1.69 10% 29% 15% 49%
thread-ring  17.46  5,000,000 8,452 487 18.42 21% 27% 19% 36%
thread-ring  178.08  50,000,000 8,392 487 185.97 24% 24% 32% 25%
source secs N mem gz cpu cpu load
thread-ring  #2 1.82  500,000 5,444 575 1.96 32% 11% 34% 26%
thread-ring  #2 18.55  5,000,000 5,440 575 19.75 26% 31% 22% 25%
thread-ring  #2 185.41  50,000,000 5,432 575 198.26 26% 25% 28% 25%
source secs N mem gz cpu cpu load
thread-ring  #4 1.84  500,000 9,540 761 1.98 37% 30% 13% 26%
thread-ring  #4 19.25  5,000,000 9,516 761 20.56 23% 28% 29% 23%
thread-ring  #4 184.31  50,000,000 9,540 761 196.26 29% 24% 25% 25%