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  #3 0.03  12 ? 906 0.02 0% 0% 0% 100%
binary-trees  #3 0.45  16 3,964 906 0.45 7% 7% 0% 100%
binary-trees  #3 9.58  20 100,796 906 9.57 1% 1% 1% 100%
source secs N mem gz cpu cpu load
binary-trees  #5 0.15  12 ? 963 0.14 0% 0% 0% 100%
binary-trees  #5 3.36  16 7,188 963 3.35 2% 1% 1% 100%
binary-trees  #5 74.42  20 110,536 963 74.37 1% 1% 1% 100%
source secs N mem gz cpu cpu load
binary-trees  0.08  12 ? 706 0.08 0% 0% 0% 100%
binary-trees  1.62  16 5,240 706 1.62 2% 1% 0% 100%
binary-trees  35.84  20 66,784 706 35.81 1% 1% 0% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.11  60,000 ? 1663 0.10 0% 0% 0% 100%
chameneos-redux  #2 1.06  600,000 664 1663 1.06 2% 2% 0% 99%
chameneos-redux  #2 10.38  6,000,000 744 1663 10.37 2% 1% 1% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #5 0.11  60,000 ? 2863 0.10 0% 0% 0% 100%
chameneos-redux  #5 0.95  600,000 596 2863 0.95 1% 0% 1% 100%
chameneos-redux  #5 9.42  6,000,000 688 2863 9.42 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.34  10 648 1557 0.34 3% 0% 3% 97%
fannkuch-redux  #2 4.05  11 624 1557 4.04 1% 0% 1% 100%
fannkuch-redux  #2 54.53  12 748 1557 54.50 2% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.16  10 ? 1183 0.16 0% 0% 6% 100%
fannkuch-redux  #4 1.96  11 608 1183 1.96 2% 1% 2% 100%
fannkuch-redux  #4 24.19  12 636 1183 24.18 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.45  10 636 508 0.44 4% 0% 2% 100%
fannkuch-redux  10.88  11 612 508 10.87 1% 1% 0% 100%
fannkuch-redux  78.04  12 640 508 78.02 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.27  10 612 567 0.26 7% 8% 0% 100%
fannkuch-redux  #3 3.37  11 624 567 3.37 1% 0% 0% 100%
fannkuch-redux  #3 47.30  12 640 567 47.28 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.25  10 572 910 0.24 0% 4% 12% 100%
fannkuch-redux  #5 2.99  11 1,532 910 2.99 1% 1% 1% 100%
fannkuch-redux  #5 39.92  12 1,612 910 39.90 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #5 0.03  250,000 ? 1261 0.03 0% 0% 0% 75%
fasta  #5 0.32  2,500,000 604 1261 0.32 3% 3% 3% 100%
fasta  #5 2.79  25,000,000 640 1261 2.79 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fasta  #6 0.05  250,000 ? 1914 0.04 0% 20% 0% 100%
fasta  #6 0.41  2,500,000 732 1914 0.41 0% 5% 0% 100%
fasta  #6 3.73  25,000,000 1,932 1914 3.72 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #7 0.04  250,000 ? 1993 0.04 0% 0% 0% 100%
fasta  #7 0.38  2,500,000 608 1993 0.38 3% 3% 3% 98%
fasta  #7 3.48  25,000,000 1,932 1993 3.47 1% 2% 0% 100%
source secs N mem gz cpu cpu load
fasta  0.08  250,000 ? 1185 0.08 0% 0% 0% 100%
fasta  0.75  2,500,000 600 1185 0.75 1% 1% 0% 100%
fasta  7.16  25,000,000 648 1185 7.15 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.06  250,000 ? 1221 0.06 0% 0% 0% 100%
fasta  #4 0.55  2,500,000 624 1221 0.54 2% 7% 0% 100%
fasta  #4 5.03  25,000,000 628 1221 5.03 1% 3% 0% 100%
source secs N mem gz cpu cpu load
k-nucleotide  0.30  250,000 460 1500 0.24 23% 7% 0% 96%
k-nucleotide  2.47  2,500,000 16,760 1500 2.17 1% 5% 2% 100%
k-nucleotide  23.93  25,000,000 126,832 1500 23.91 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.11  1,000 ? 879 0.10 0% 0% 0% 100%
mandelbrot  #6 1.60  4,000 608 879 1.60 0% 0% 1% 100%
mandelbrot  #6 25.26  16,000 29,312 879 25.24 1% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.09  1,000 ? 782 0.08 10% 0% 0% 100%
mandelbrot  #8 1.21  4,000 2,456 782 1.21 1% 2% 1% 100%
mandelbrot  #8 19.08  16,000 32,016 782 19.07 0% 23% 78% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.20  1,000 ? 400 0.20 0% 0% 0% 100%
mandelbrot  #2 3.04  4,000 632 400 3.03 2% 1% 0% 100%
mandelbrot  #2 48.21  16,000 640 400 48.19 1% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.10  1,000 ? 994 0.10 0% 0% 0% 100%
mandelbrot  #7 1.45  4,000 3,472 994 1.45 1% 1% 3% 100%
mandelbrot  #7 22.90  16,000 32,980 994 22.90 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.11  1,000 ? 763 0.10 0% 0% 0% 92%
mandelbrot  #3 1.57  4,000 3,052 763 1.57 6% 2% 0% 100%
mandelbrot  #3 24.85  16,000 32,452 763 24.84 2% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.11  1,000 ? 822 0.10 0% 0% 0% 100%
mandelbrot  1.61  4,000 628 822 1.60 2% 3% 1% 99%
mandelbrot  25.36  16,000 29,316 822 25.35 2% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.10  1,000 ? 799 0.09 0% 0% 0% 100%
mandelbrot  #4 1.42  4,000 2,860 799 1.42 4% 1% 1% 99%
mandelbrot  #4 22.39  16,000 31,868 799 22.38 1% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.10  1,000 ? 694 0.10 0% 0% 9% 100%
mandelbrot  #9 1.43  4,000 2,768 694 1.42 1% 1% 1% 99%
mandelbrot  #9 22.37  16,000 31,904 694 22.36 1% 1% 1% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.10  2,098 ? 3066 0.10 0% 0% 9% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.22  500,000 708 1208 0.21 5% 13% 5% 96%
n-body  #3 2.12  5,000,000 692 1208 2.12 2% 1% 0% 100%
n-body  #3 21.16  50,000,000 752 1208 21.16 0% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #4 0.10  500,000 ? 1490 0.10 9% 0% 0% 100%
n-body  #4 1.01  5,000,000 636 1490 1.00 1% 1% 1% 100%
n-body  #4 10.01  50,000,000 740 1490 10.00 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 648 1173 0.21 9% 0% 0% 95%
n-body  2.10  5,000,000 648 1173 2.09 0% 1% 1% 100%
n-body  20.89  50,000,000 748 1173 20.88 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #6 0.22  500,000 656 1180 0.21 0% 9% 0% 100%
n-body  #6 2.09  5,000,000 752 1180 2.08 1% 0% 1% 100%
n-body  #6 20.81  50,000,000 756 1180 20.80 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #5 0.22  500,000 556 1429 0.21 5% 0% 0% 100%
n-body  #5 2.10  5,000,000 544 1429 2.09 1% 1% 0% 100%
n-body  #5 20.88  50,000,000 556 1429 20.87 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 632 1263 0.23 5% 4% 4% 100%
n-body  #2 2.28  5,000,000 712 1263 2.28 2% 2% 0% 100%
n-body  #2 22.77  50,000,000 708 1263 22.76 0% 1% 0% 100%
source secs N mem gz cpu cpu load
pidigits  0.09  2,000 ? 448 0.09 10% 0% 0% 100%
pidigits  0.86  6,000 1,820 448 0.86 2% 0% 3% 100%
pidigits  2.50  10,000 1,992 448 2.50 2% 1% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  0.13  50,000 ? 2579 ? 0% 0% 0% 100%
regex-dna  0.66  500,000 26,208 2579 0.56 2% 2% 3% 99%
regex-dna  5.53  5,000,000 297,880 2579 5.50 2% 1% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  #2 0.30  50,000 736 1099 0.30 0% 3% 3% 100%
regex-dna  #2 2.95  500,000 12,672 1099 2.95 0% 2% 1% 100%
regex-dna  #2 29.48  5,000,000 127,520 1099 29.46 0% 1% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  #4 0.26  50,000 548 1525 0.24 4% 0% 4% 96%
regex-dna  #4 2.43  500,000 6,776 1525 2.33 0% 2% 1% 100%
regex-dna  #4 23.22  5,000,000 83,792 1525 23.21 0% 1% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1867 0.02 0% 0% 0% 100%
reverse-complement  0.14  2,500,000 ? 1867 0.13 0% 0% 0% 100%
reverse-complement  0.94  25,000,000 494,356 1867 0.93 0% 4% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.02  250,000 ? 812 0.01 50% 0% 0% 100%
reverse-complement  #6 0.10  2,500,000 ? 812 0.10 0% 0% 0% 100%
reverse-complement  #6 0.62  25,000,000 125,340 812 0.62 3% 0% 0% 100%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.05  250,000 ? 704 ? 0% 17% 0% 100%
reverse-complement  #4 0.43  2,500,000 ? 704 ? 0% 2% 0% 100%
reverse-complement  #4 1.43  25,000,000 125,736 704 1.42 0% 1% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.02  250,000 ? 638 0.02 0% 0% 0% 100%
reverse-complement  #5 0.12  2,500,000 ? 638 0.12 0% 0% 0% 100%
reverse-complement  #5 0.85  25,000,000 249,324 638 0.84 1% 1% 2% 100%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.05  250,000 ? 741 ? 0% 0% 0% 100%
reverse-complement  #2 0.45  2,500,000 ? 741 ? 4% 0% 0% 100%
reverse-complement  #2 0.78  25,000,000 251,464 741 0.77 3% 1% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.07  500 ? 569 0.07 0% 0% 0% 88%
spectral-norm  #5 2.35  3,000 880 569 2.34 1% 1% 1% 100%
spectral-norm  #5 7.85  5,500 1,628 569 7.85 1% 1% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.14  500 ? 383 0.13 0% 0% 0% 93%
spectral-norm  4.67  3,000 784 383 4.67 1% 0% 1% 100%
spectral-norm  15.71  5,500 812 383 15.70 1% 1% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.13  500 ? 463 0.13 0% 0% 0% 100%
spectral-norm  #3 4.68  3,000 1,680 463 4.67 0% 1% 1% 100%
spectral-norm  #3 16.02  5,500 1,680 463 16.01 1% 1% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.08  500 ? 1139 0.07 0% 0% 0% 100%
spectral-norm  #4 2.43  3,000 1,612 1139 2.43 0% 0% 1% 100%
spectral-norm  #4 7.86  5,500 1,684 1139 7.85 1% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #3 1.60  500,000 3,064 916 1.58 99% 1% 1% 3%
thread-ring  #3 15.69  5,000,000 2,968 916 15.67 100% 1% 1% 1%
thread-ring  #3 155.30  50,000,000 2,960 916 155.22 100% 1% 1% 1%
source secs N mem gz cpu cpu load
thread-ring  1.32  500,000 8,292 487 1.32 1% 1% 1% 100%
thread-ring  13.02  5,000,000 8,256 487 13.01 0% 1% 1% 100%
thread-ring  130.42  50,000,000 8,296 487 130.34 1% 1% 2% 100%
source secs N mem gz cpu cpu load
thread-ring  #2 1.33  500,000 3,176 575 1.32 1% 1% 2% 100%
thread-ring  #2 13.16  5,000,000 3,312 575 13.15 0% 1% 1% 100%
thread-ring  #2 133.41  50,000,000 3,320 575 133.33 1% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #4 1.34  500,000 3,180 761 1.33 3% 0% 0% 100%
thread-ring  #4 13.08  5,000,000 3,232 761 13.07 0% 1% 1% 100%
thread-ring  #4 130.94  50,000,000 3,172 761 130.86 0% 1% 1% 100%