The Computer Language
Benchmarks Game

all Go programs & measurements

go version go1.9 linux/amd64

source secs N mem gz cpu cpu load
binary-trees  #4  7 ? 654 0.00
binary-trees  #4 0.14  14 ? 654 0.40 77% 77% 58% 58%
binary-trees  #4 35.27  21 276,956 654 132.77 95% 95% 94% 93%
source secs N mem gz cpu cpu load
binary-trees  #9  7 ? 508 0.00
binary-trees  #9 0.30  14 1,000 508 0.36 28% 31% 45% 28%
binary-trees  #9 65.78  21 290,488 508 104.66 30% 43% 43% 45%
source secs N mem gz cpu cpu load
binary-trees  #7  7 ? 525 ?
binary-trees  #7 0.31  14 1,024 525 0.38 34% 29% 42% 26%
binary-trees  #7 68.60  21 281,800 525 110.84 38% 41% 40% 45%
source secs N mem gz cpu cpu load
binary-trees  0.01  7 ? 482 0.00 0% 100% 0% 0%
binary-trees  0.31  14 1,020 482 0.37 33% 26% 40% 32%
binary-trees  66.16  21 281,744 482 106.08 39% 40% 40% 44%
source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 660 ?
binary-trees  #2 0.15  14 ? 660 0.42 71% 77% 62% 71%
binary-trees  #2 35.18  21 277,864 660 132.94 96% 94% 94% 95%
source secs N mem gz cpu cpu load
binary-trees  #5  7 ? 950 0.00
binary-trees  #5 0.13  14 ? 950 0.41 86% 85% 77% 77%
binary-trees  #5 37.33  21 261,956 950 142.25 97% 95% 96% 95%
source secs N mem gz cpu cpu load
chameneos-redux  0.07  60,000 ? 1167 0.24 100% 88% 57% 100%
chameneos-redux  0.77  600,000 1,560 1167 2.71 99% 100% 83% 74%
chameneos-redux  7.11  6,000,000 1,560 1167 24.97 100% 100% 100% 54%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.08  60,000 ? 1408 0.29 63% 100% 100% 100%
chameneos-redux  #2 0.73  600,000 1,560 1408 2.48 99% 89% 68% 89%
chameneos-redux  #2 7.50  6,000,000 1,560 1408 27.06 71% 98% 99% 96%
source secs N mem gz cpu cpu load
chameneos-redux  #5 0.11  60,000 ? 957 0.30 70% 82% 73% 67%
chameneos-redux  #5 1.07  600,000 1,564 957 3.15 76% 77% 70% 74%
chameneos-redux  #5 10.47  6,000,000 1,564 957 30.80 77% 71% 76% 73%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.15  10 ? 896 0.36 50% 77% 80% 50%
fannkuch-redux  #2 1.09  11 3,200 896 4.23 98% 97% 98% 97%
fannkuch-redux  #2 14.49  12 3,204 896 57.82 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.11  10 ? 900 0.35 80% 83% 89% 85%
fannkuch-redux  1.08  11 1,552 900 4.22 99% 98% 99% 99%
fannkuch-redux  14.52  12 1,564 900 57.76 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.04  250,000 ? 1344 0.07 25% 50% 50% 67%
fasta  #3 0.25  2,500,000 1,560 1344 0.63 36% 74% 76% 84%
fasta  #3 2.17  25,000,000 3,584 1344 5.84 59% 78% 70% 64%
source secs N mem gz cpu cpu load
fasta  0.09  250,000 ? 1036 0.08 0% 90% 0% 0%
fasta  0.78  2,500,000 1,556 1036 0.78 100% 0% 3% 3%
fasta  7.39  25,000,000 1,556 1036 7.38 100% 1% 1% 1%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1388 0.08 40% 25% 67% 100%
fasta  #2 0.29  2,500,000 1,560 1388 0.67 20% 68% 83% 64%
fasta  #2 2.70  25,000,000 10,656 1388 6.34 47% 60% 61% 68%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.44  250,000 35,596 1531 1.36 67% 70% 79% 98%
k-nucleotide  #2 3.71  2,500,000 58,188 1531 11.36 100% 60% 79% 71%
k-nucleotide  #2 38.74  25,000,000 265,468 1531 124.55 76% 85% 82% 80%
source secs N mem gz cpu cpu load
k-nucleotide  0.57  250,000 33,104 980 2.00 79% 93% 98% 84%
k-nucleotide  6.37  2,500,000 46,392 980 20.14 63% 95% 99% 63%
k-nucleotide  58.14  25,000,000 398,844 980 192.15 84% 85% 80% 94%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.27  250,000 1,404 1713 0.72 85% 62% 59% 81%
k-nucleotide  #3 2.13  2,500,000 33,388 1713 5.64 77% 86% 65% 67%
k-nucleotide  #3 14.79  25,000,000 149,212 1713 53.03 88% 90% 96% 87%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.23  250,000 1,488 1582 0.74 70% 100% 76% 83%
k-nucleotide  #6 1.78  2,500,000 33,536 1582 6.39 94% 87% 95% 86%
k-nucleotide  #6 14.87  25,000,000 149,108 1582 53.10 84% 96% 82% 97%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.03  1,000 ? 894 0.10 100% 100% 67% 100%
mandelbrot  #3 0.35  4,000 1,552 894 1.38 97% 97% 97% 100%
mandelbrot  #3 5.48  16,000 31,180 894 21.74 99% 100% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.05  1,000 ? 823 0.18 100% 100% 86% 83%
mandelbrot  0.69  4,000 2,636 823 2.69 99% 99% 100% 97%
mandelbrot  10.52  16,000 34,028 823 41.86 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.06  1,000 ? 837 0.21 100% 100% 86% 71%
mandelbrot  #2 0.81  4,000 2,432 837 3.11 100% 95% 94% 96%
mandelbrot  #2 15.71  16,000 34,772 837 49.84 100% 73% 73% 73%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.03  1,000 ? 905 0.10 100% 100% 75% 100%
mandelbrot  #4 0.36  4,000 1,024 905 1.38 97% 95% 100% 100%
mandelbrot  #4 5.46  16,000 31,172 905 21.66 99% 100% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.06  1,000 ? 700 0.20 100% 100% 86% 83%
mandelbrot  #6 0.81  4,000 2,516 700 3.18 99% 99% 98% 99%
mandelbrot  #6 12.72  16,000 33,104 700 50.68 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.13  2,098 ? 2986 0.13 100% 0% 0% 0%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 1,024 1310 0.22 9% 100% 0% 0%
n-body  2.16  5,000,000 1,556 1310 2.16 0% 100% 0% 2%
n-body  21.49  50,000,000 1,560 1310 21.49 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 1,556 1215 0.23 0% 5% 100% 0%
n-body  #2 2.25  5,000,000 1,556 1215 2.25 100% 1% 0% 1%
n-body  #2 22.46  50,000,000 1,560 1215 22.46 1% 100% 1% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.22  500,000 1,560 1200 0.22 0% 96% 0% 9%
n-body  #3 2.15  5,000,000 1,556 1200 2.15 100% 0% 0% 1%
n-body  #3 21.47  50,000,000 1,560 1200 21.47 100% 0% 1% 1%
source secs N mem gz cpu cpu load
pidigits  #2 0.18  2,000 ? 729 0.18 0% 100% 0% 0%
pidigits  #2 1.13  6,000 8,340 729 1.12 1% 1% 0% 100%
pidigits  #2 2.95  10,000 11,080 729 2.94 0% 1% 3% 98%
source secs N mem gz cpu cpu load
pidigits  #3 0.13  2,000 ? 603 0.13 93% 0% 0% 0%
pidigits  #3 0.79  6,000 10,060 603 0.78 3% 100% 0% 0%
pidigits  #3 2.02  10,000 10,744 603 2.02 2% 0% 5% 96%
source secs N mem gz cpu cpu load
pidigits  0.18  2,000 ? 704 0.18 5% 0% 0% 100%
pidigits  1.13  6,000 8,432 704 1.14 17% 6% 14% 67%
pidigits  2.94  10,000 11,088 704 2.95 9% 26% 6% 61%
regex-redux  #9 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  0.50  50,000 5,672 737 1.20 48% 63% 71% 61%
regex-redux  5.20  500,000 33,680 737 12.95 66% 51% 60% 75%
regex-redux  51.78  5,000,000 322,840 737 124.33 58% 52% 79% 53%
source secs N mem gz cpu cpu load
regex-redux  #2 0.29  50,000 2,288 798 0.63 55% 38% 44% 90%
regex-redux  #2 3.03  500,000 40,616 798 6.24 57% 60% 50% 44%
regex-redux  #2 29.29  5,000,000 344,348 798 61.79 37% 59% 79% 38%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.03  250,000 ? 926 0.03 0% 67% 50% 0%
reverse-complement  #5 0.15  2,500,000 ? 926 0.21 63% 31% 43% 7%
reverse-complement  #5 1.34  25,000,000 358,920 926 1.77 65% 28% 34% 13%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.07  250,000 ? 1278 ? 71% 13% 43% 14%
reverse-complement  #6 0.49  2,500,000 ? 1278 ? 2% 4% 33% 72%
reverse-complement  #6 0.49  25,000,000 133,532 1278 0.87 76% 30% 27% 49%
source secs N mem gz cpu cpu load
reverse-complement  #3  250,000 ? 543 0.02
reverse-complement  #3 0.14  2,500,000 ? 543 0.14 67% 0% 40% 14%
reverse-complement  #3 0.87  25,000,000 165,948 543 0.89 3% 3% 88% 11%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1243 0.03 67% 33% 0% 50%
reverse-complement  0.11  2,500,000 ? 1243 0.16 9% 46% 91% 10%
reverse-complement  0.84  25,000,000 258,940 1243 0.98 20% 73% 20% 10%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.02  250,000 ? 546 0.02 50% 50% 33% 0%
reverse-complement  #2 0.14  2,500,000 ? 546 0.14 64% 31% 0% 0%
reverse-complement  #2 0.92  25,000,000 165,960 546 0.94 3% 2% 4% 97%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 668 0.14 67% 17% 57% 86%
spectral-norm  #2 1.22  3,000 1,564 668 4.69 97% 97% 98% 97%
spectral-norm  #2 4.04  5,500 1,564 668 15.73 97% 98% 97% 98%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.06  500 ? 548 0.14 71% 50% 75% 60%
spectral-norm  #4 1.20  3,000 1,556 548 4.68 98% 99% 98% 98%
spectral-norm  #4 3.96  5,500 2,584 548 15.70 99% 99% 99% 99%
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 2,072 411 4.68 1% 1% 100% 1%
spectral-norm  15.69  5,500 2,344 411 15.69 1% 100% 0% 1%
source secs N mem gz cpu cpu load
thread-ring  #6 0.14  500,000 ? 420 0.14 0% 0% 0% 100%
thread-ring  #6 1.33  5,000,000 2,784 420 1.33 0% 100% 1% 0%
thread-ring  #6 13.24  50,000,000 2,796 420 13.24 100% 0% 0% 1%
source secs N mem gz cpu cpu load
thread-ring  #5 0.71  500,000 2,536 405 1.54 86% 40% 51% 43%
thread-ring  #5 7.06  5,000,000 2,540 405 15.49 66% 46% 56% 52%
thread-ring  #5 72.32  50,000,000 2,540 405 158.80 64% 47% 54% 56%