The Computer Language
Benchmarks Game

all Go programs & measurements

go version go1.10 linux/amd64

source secs N mem gz cpu cpu load
binary-trees  #4  7 ? 654 0.01
binary-trees  #4 0.15  14 ? 654 0.43 71% 77% 67% 64%
binary-trees  #4 28.80  21 434,632 654 109.58 94% 95% 95% 97%
source secs N mem gz cpu cpu load
binary-trees  #3  7 ? 640 0.01
binary-trees  #3 0.20  14 ? 640 0.69 85% 90% 90% 79%
binary-trees  #3 35.71  21 874,404 640 137.77 99% 96% 97% 95%
source secs N mem gz cpu cpu load
binary-trees  #9 0.01  7 ? 508 ? 100% 0% 50% 0%
binary-trees  #9 0.28  14 948 508 0.34 37% 34% 41% 19%
binary-trees  #9 56.29  21 257,972 508 97.47 41% 48% 41% 45%
source secs N mem gz cpu cpu load
binary-trees  #7  7 ? 525 0.00
binary-trees  #7 0.29  14 948 525 0.36 57% 19% 24% 25%
binary-trees  #7 58.12  21 256,892 525 101.85 46% 42% 45% 43%
source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 660 0.00
binary-trees  #2 0.13  14 ? 660 0.40 77% 79% 69% 86%
binary-trees  #2 30.23  21 414,780 660 115.73 97% 95% 96% 96%
source secs N mem gz cpu cpu load
binary-trees   7 ? 482 0.01
binary-trees  0.27  14 948 482 0.33 28% 23% 41% 33%
binary-trees  55.80  21 265,700 482 97.60 43% 46% 46% 41%
source secs N mem gz cpu cpu load
binary-trees  #5  7 ? 950 0.00
binary-trees  #5 0.13  14 ? 950 0.40 79% 85% 79% 69%
binary-trees  #5 32.10  21 407,804 950 127.22 99% 99% 99% 99%
source secs N mem gz cpu cpu load
chameneos-redux  #5 0.12  60,000 ? 957 0.32 67% 73% 70% 64%
chameneos-redux  #5 1.13  600,000 1,532 957 3.28 73% 74% 74% 74%
chameneos-redux  #5 10.94  6,000,000 1,532 957 31.81 72% 75% 74% 72%
source secs N mem gz cpu cpu load
chameneos-redux  0.08  60,000 ? 1167 0.21 86% 88% 67% 17%
chameneos-redux  0.77  600,000 1,532 1167 2.66 99% 99% 100% 53%
chameneos-redux  6.00  6,000,000 1,536 1167 21.33 99% 91% 67% 99%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.08  60,000 ? 1408 0.29 100% 89% 89% 56%
chameneos-redux  #2 0.76  600,000 1,532 1408 2.72 93% 99% 67% 100%
chameneos-redux  #2 7.62  6,000,000 1,540 1408 27.61 99% 67% 99% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  0.11  10 ? 900 0.35 80% 80% 90% 82%
fannkuch-redux  1.09  11 1,532 900 4.26 98% 98% 98% 99%
fannkuch-redux  14.72  12 1,540 900 58.65 100% 100% 99% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.15  10 ? 896 0.38 63% 67% 62% 64%
fannkuch-redux  #2 1.10  11 4,216 896 4.29 98% 99% 98% 97%
fannkuch-redux  #2 14.94  12 10,788 896 59.53 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.03  250,000 ? 1358 0.08 67% 33% 50% 80%
fasta  #3 0.23  2,500,000 1,000 1358 0.61 79% 78% 35% 82%
fasta  #3 2.08  25,000,000 3,640 1358 5.69 84% 66% 70% 56%
source secs N mem gz cpu cpu load
fasta  0.08  250,000 ? 1053 0.08 0% 11% 0% 89%
fasta  0.76  2,500,000 996 1053 0.76 100% 0% 0% 3%
fasta  7.16  25,000,000 1,472 1053 7.15 0% 1% 100% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1404 0.08 67% 50% 25% 60%
fasta  #2 0.30  2,500,000 1,584 1404 0.68 90% 36% 55% 50%
fasta  #2 2.72  25,000,000 10,808 1404 6.31 57% 47% 79% 49%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.24  250,000 948 1590 0.72 67% 100% 84% 58%
k-nucleotide  #6 1.71  2,500,000 33,536 1590 5.83 84% 96% 89% 74%
k-nucleotide  #6 14.22  25,000,000 147,984 1590 50.89 79% 87% 97% 96%
source secs N mem gz cpu cpu load
k-nucleotide  0.60  250,000 32,120 986 2.01 78% 90% 73% 95%
k-nucleotide  4.65  2,500,000 46,044 986 16.15 96% 96% 78% 79%
k-nucleotide  52.18  25,000,000 391,312 986 176.10 76% 95% 82% 86%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.27  250,000 948 1722 0.67 59% 79% 74% 64%
k-nucleotide  #3 1.84  2,500,000 33,388 1722 5.12 72% 71% 63% 89%
k-nucleotide  #3 12.77  25,000,000 148,052 1722 47.35 87% 97% 94% 95%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.50  250,000 21,496 1560 1.46 50% 57% 94% 94%
k-nucleotide  #2 4.92  2,500,000 46,828 1560 13.84 96% 69% 74% 47%
k-nucleotide  #2 45.38  25,000,000 265,288 1560 131.57 92% 53% 96% 49%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.06  1,000 ? 837 0.20 83% 100% 100% 100%
mandelbrot  #2 0.82  4,000 2,448 837 3.09 100% 95% 93% 94%
mandelbrot  #2 12.39  16,000 32,964 837 49.41 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.06  1,000 ? 823 0.18 86% 80% 80% 80%
mandelbrot  0.70  4,000 2,672 823 2.69 96% 96% 97% 100%
mandelbrot  10.58  16,000 32,436 823 42.00 99% 100% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.03  1,000 ? 905 0.09 67% 100% 67% 67%
mandelbrot  #4 0.36  4,000 1,476 905 1.38 100% 100% 97% 97%
mandelbrot  #4 5.48  16,000 30,912 905 21.79 99% 99% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.06  1,000 ? 700 0.21 100% 100% 100% 100%
mandelbrot  #6 0.81  4,000 2,376 700 3.19 99% 99% 99% 99%
mandelbrot  #6 12.72  16,000 30,864 700 50.74 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.03  1,000 ? 894 0.09 50% 100% 67% 100%
mandelbrot  #3 0.36  4,000 936 894 1.38 97% 97% 97% 100%
mandelbrot  #3 5.49  16,000 30,372 894 21.76 99% 100% 99% 99%
source secs N mem gz cpu cpu load
meteor-contest  0.13  2,098 ? 2995 0.13 0% 0% 100% 7%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 944 1215 0.23 4% 0% 100% 0%
n-body  #2 2.25  5,000,000 1,528 1215 2.25 100% 1% 0% 1%
n-body  #2 22.46  50,000,000 1,536 1215 22.46 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.22  500,000 1,524 1200 0.22 0% 5% 5% 100%
n-body  #3 2.15  5,000,000 1,524 1200 2.15 0% 100% 1% 1%
n-body  #3 21.47  50,000,000 1,536 1200 21.47 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 944 1310 0.22 100% 5% 0% 0%
n-body  2.15  5,000,000 1,532 1310 2.15 100% 1% 0% 0%
n-body  21.37  50,000,000 1,536 1310 21.38 0% 0% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #3 0.13  2,000 ? 603 0.13 0% 7% 0% 93%
pidigits  #3 0.79  6,000 8,464 603 0.79 0% 3% 99% 0%
pidigits  #3 2.02  10,000 9,256 603 2.02 0% 0% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.18  2,000 ? 733 0.17 0% 0% 94% 0%
pidigits  #2 1.11  6,000 8,928 733 1.11 99% 0% 0% 4%
pidigits  #2 2.93  10,000 9,344 733 2.93 0% 100% 0% 0%
source secs N mem gz cpu cpu load
pidigits  0.17  2,000 ? 708 0.18 44% 0% 0% 59%
pidigits  1.12  6,000 8,716 708 1.12 40% 0% 40% 24%
pidigits  2.92  10,000 9,744 708 2.93 33% 3% 1% 65%
source secs N mem gz cpu cpu load
regex-redux  0.56  50,000 5,864 741 1.25 39% 80% 60% 43%
regex-redux  5.35  500,000 39,672 741 13.06 68% 74% 51% 53%
regex-redux  53.89  5,000,000 322,376 741 129.05 70% 66% 50% 54%
source secs N mem gz cpu cpu load
regex-redux  #2 0.27  50,000 2,364 802 0.61 65% 59% 68% 46%
regex-redux  #2 2.84  500,000 41,132 802 6.01 85% 39% 37% 52%
regex-redux  #2 28.21  5,000,000 323,820 802 59.87 69% 46% 50% 48%
source secs N mem gz cpu cpu load
regex-redux  #3 0.51  50,000 6,016 829 1.17 48% 66% 45% 76%
regex-redux  #3 5.28  500,000 70,156 829 12.77 89% 54% 54% 48%
regex-redux  #3 54.31  5,000,000 679,144 829 133.72 49% 74% 75% 49%
source secs N mem gz cpu cpu load
regex-redux  #4 0.35  50,000 1,124 829 0.77 61% 48% 83% 46%
regex-redux  #4 3.05  500,000 43,252 829 7.20 77% 52% 56% 57%
regex-redux  #4 29.81  5,000,000 383,640 829 71.27 82% 52% 54% 52%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.25  250,000 ? 996 ? 4% 48% 43% 22%
reverse-complement  #5 5.64  100,000,000 1,355,812 996 7.18 50% 26% 33% 20%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.06  250,000 ? 605 ? 0% 43% 83% 0%
reverse-complement  #3 4.10  100,000,000 826,360 605 4.25 4% 97% 4% 0%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.02  250,000 ? 1338 0.03 0% 0% 67% 50%
reverse-complement  #6 4.44  100,000,000 2,228,580 1338 7.07 43% 44% 28% 46%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.02  250,000 ? 611 0.02 50% 0% 33% 0%
reverse-complement  #2 4.00  100,000,000 824,356 611 4.16 1% 35% 68% 2%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1254 0.02 0% 0% 50% 0%
reverse-complement  Failed  100,000,000
source secs N mem gz cpu cpu load
spectral-norm  #4 0.05  500 ? 548 0.14 75% 75% 80% 75%
spectral-norm  #4 1.20  3,000 1,540 548 4.70 99% 98% 98% 98%
spectral-norm  #4 3.94  5,500 2,344 548 15.71 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.14  500 ? 411 0.14 0% 0% 0% 100%
spectral-norm  4.68  3,000 1,804 411 4.68 100% 0% 1% 0%
spectral-norm  15.70  5,500 2,368 411 15.70 1% 0% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.06  500 ? 668 0.15 50% 80% 83% 40%
spectral-norm  #2 1.34  3,000 1,540 668 4.73 86% 91% 89% 89%
spectral-norm  #2 4.13  5,500 1,796 668 15.73 95% 95% 96% 95%
source secs N mem gz cpu cpu load
thread-ring  #6 0.15  500,000 ? 420 0.15 94% 6% 0% 7%
thread-ring  #6 1.36  5,000,000 2,496 420 1.36 0% 0% 100% 1%
thread-ring  #6 13.69  50,000,000 2,748 420 13.68 0% 1% 100% 0%
source secs N mem gz cpu cpu load
thread-ring  #5 0.71  500,000 2,492 405 1.62 54% 53% 58% 65%
thread-ring  #5 7.20  5,000,000 2,492 405 16.18 59% 56% 56% 53%
thread-ring  #5 72.53  50,000,000 2,488 405 162.80 58% 56% 56% 54%