The Computer Language
Benchmarks Game

all Go programs & measurements

go version go1.8 linux/amd64

source secs N mem gz cpu cpu load
binary-trees  #4 0.06  12 ? 688 0.18 63% 83% 67% 80%
binary-trees  #4 1.98  16 23,960 688 6.89 88% 88% 88% 87%
binary-trees  #4 39.68  20 364,612 688 150.64 95% 95% 95% 96%
source secs N mem gz cpu cpu load
binary-trees  #9 0.14  12 ? 548 0.16 27% 21% 50% 33%
binary-trees  #9 3.71  16 20,692 548 6.60 46% 44% 46% 44%
binary-trees  #9 77.08  20 278,044 548 121.15 39% 42% 41% 40%
source secs N mem gz cpu cpu load
binary-trees  #7 0.15  12 ? 567 0.16 43% 43% 21% 7%
binary-trees  #7 3.89  16 22,008 567 7.13 44% 51% 45% 45%
binary-trees  #7 82.05  20 289,024 567 131.42 43% 42% 37% 39%
source secs N mem gz cpu cpu load
binary-trees  0.15  12 ? 516 0.17 27% 33% 35% 40%
binary-trees  3.81  16 20,928 516 6.74 43% 44% 45% 45%
binary-trees  80.60  20 258,940 516 125.00 40% 43% 37% 37%
source secs N mem gz cpu cpu load
binary-trees  #2 0.07  12 ? 694 0.17 100% 50% 43% 75%
binary-trees  #2 1.99  16 23,776 694 7.10 91% 88% 90% 90%
binary-trees  #2 40.29  20 379,664 694 153.98 96% 96% 95% 96%
source secs N mem gz cpu cpu load
binary-trees  #5 0.07  12 ? 1000 0.18 57% 63% 86% 63%
binary-trees  #5 2.13  16 25,108 1000 8.26 98% 98% 97% 98%
binary-trees  #5 41.38  20 377,668 1000 163.80 99% 99% 99% 99%
source secs N mem gz cpu cpu load
chameneos-redux  0.07  60,000 ? 1167 0.22 100% 100% 89% 25%
chameneos-redux  0.74  600,000 832 1167 2.59 100% 55% 100% 99%
chameneos-redux  6.51  6,000,000 836 1167 23.08 99% 100% 60% 99%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.07  60,000 ? 1408 0.20 43% 67% 83% 100%
chameneos-redux  #2 0.77  600,000 832 1408 2.71 99% 64% 99% 99%
chameneos-redux  #2 7.63  6,000,000 1,388 1408 27.48 90% 97% 97% 82%
source secs N mem gz cpu cpu load
chameneos-redux  #5 0.11  60,000 ? 957 0.34 91% 64% 60% 92%
chameneos-redux  #5 1.15  600,000 1,372 957 3.60 82% 75% 75% 84%
chameneos-redux  #5 10.80  6,000,000 1,372 957 32.95 78% 76% 76% 78%
source secs N mem gz cpu cpu load
fannkuch-redux  0.11  10 ? 900 0.36 83% 90% 91% 90%
fannkuch-redux  1.15  11 828 900 4.51 99% 99% 99% 99%
fannkuch-redux  15.84  12 1,384 900 63.01 99% 100% 100% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.04  250,000 ? 1344 0.07 50% 33% 100% 0%
fasta  #3 0.22  2,500,000 912 1344 0.60 67% 55% 82% 76%
fasta  #3 1.98  25,000,000 3,312 1344 5.63 60% 71% 78% 78%
source secs N mem gz cpu cpu load
fasta  0.07  250,000 ? 1036 0.07 0% 100% 0% 0%
fasta  0.70  2,500,000 1,468 1036 0.69 1% 3% 100% 0%
fasta  6.56  25,000,000 1,464 1036 6.56 100% 1% 1% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1388 0.08 50% 50% 40% 75%
fasta  #2 0.29  2,500,000 908 1388 0.64 100% 57% 39% 30%
fasta  #2 2.74  25,000,000 11,184 1388 5.93 2% 61% 59% 99%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.62  250,000 38,064 1531 1.87 95% 93% 84% 36%
k-nucleotide  #2 4.32  2,500,000 56,336 1531 13.88 90% 67% 96% 71%
k-nucleotide  #2 43.95  25,000,000 265,588 1531 132.28 75% 100% 63% 64%
source secs N mem gz cpu cpu load
k-nucleotide  0.73  250,000 32,248 980 2.27 78% 93% 82% 66%
k-nucleotide  6.28  2,500,000 46,304 980 19.98 92% 91% 71% 72%
k-nucleotide  67.29  25,000,000 392,532 980 217.84 76% 68% 88% 98%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.30  250,000 896 1713 0.79 77% 62% 72% 74%
k-nucleotide  #3 2.13  2,500,000 32,924 1713 6.40 72% 81% 88% 80%
k-nucleotide  #3 15.02  25,000,000 149,248 1713 56.88 92% 94% 97% 96%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.26  250,000 836 1582 0.82 96% 75% 69% 88%
k-nucleotide  #6 1.78  2,500,000 32,916 1582 6.46 98% 88% 97% 83%
k-nucleotide  #6 17.36  25,000,000 149,280 1582 64.05 87% 91% 95% 97%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.03  1,000 ? 894 0.10 75% 100% 67% 100%
mandelbrot  #3 0.37  4,000 908 894 1.42 97% 97% 97% 97%
mandelbrot  #3 5.64  16,000 31,052 894 22.41 99% 99% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.05  1,000 ? 823 0.17 80% 100% 100% 80%
mandelbrot  0.64  4,000 2,472 823 2.45 97% 97% 97% 97%
mandelbrot  9.57  16,000 33,700 823 38.19 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.05  1,000 ? 837 0.18 80% 100% 100% 100%
mandelbrot  #2 0.76  4,000 2,308 837 2.80 91% 88% 100% 95%
mandelbrot  #2 16.50  16,000 34,168 837 49.99 68% 68% 68% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.06  1,000 ? 700 0.19 83% 100% 83% 50%
mandelbrot  #6 0.71  4,000 2,544 700 2.78 99% 99% 99% 99%
mandelbrot  #6 11.06  16,000 32,356 700 44.10 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.13  2,098 ? 2986 0.13 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 832 1310 0.22 0% 100% 5% 0%
n-body  2.16  5,000,000 832 1310 2.15 100% 1% 1% 0%
n-body  21.52  50,000,000 832 1310 21.52 1% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 832 1215 0.23 4% 100% 5% 8%
n-body  #2 2.23  5,000,000 836 1215 2.23 0% 0% 1% 100%
n-body  #2 22.23  50,000,000 836 1215 22.24 0% 100% 1% 1%
source secs N mem gz cpu cpu load
pidigits  #2 0.17  2,000 ? 729 0.17 0% 0% 100% 0%
pidigits  #2 1.12  6,000 8,352 729 1.11 100% 2% 2% 0%
pidigits  #2 2.93  10,000 8,956 729 2.92 2% 1% 100% 1%
source secs N mem gz cpu cpu load
pidigits  #3 0.13  2,000 ? 603 0.12 0% 100% 0% 7%
pidigits  #3 0.79  6,000 7,884 603 0.78 100% 3% 3% 0%
pidigits  #3 2.04  10,000 10,560 603 2.03 11% 10% 100% 1%
source secs N mem gz cpu cpu load
pidigits  0.18  2,000 ? 704 0.18 0% 100% 11% 0%
pidigits  1.12  6,000 8,380 704 1.12 42% 32% 2% 29%
pidigits  2.93  10,000 13,056 704 2.94 10% 41% 38% 13%
regex-redux  #9 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  0.58  50,000 5,760 737 1.34 47% 79% 37% 72%
regex-redux  5.34  500,000 33,320 737 13.18 59% 80% 57% 52%
regex-redux  53.47  5,000,000 322,512 737 125.82 70% 55% 65% 46%
source secs N mem gz cpu cpu load
regex-redux  #2 0.25  50,000 1,020 798 0.65 96% 60% 54% 58%
regex-redux  #2 2.97  500,000 42,596 798 6.29 70% 48% 49% 47%
regex-redux  #2 29.76  5,000,000 353,332 798 62.56 50% 67% 53% 41%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.02  250,000 ? 926 0.02 0% 50% 0% 50%
reverse-complement  #5 0.14  2,500,000 ? 926 0.21 29% 60% 33% 29%
reverse-complement  #5 1.25  25,000,000 358,652 926 1.74 17% 71% 10% 46%
source secs N mem gz cpu cpu load
reverse-complement  #6  250,000 ? 1278 0.02
reverse-complement  #6 0.10  2,500,000 ? 1278 0.14 10% 70% 50% 44%
reverse-complement  #6 0.48  25,000,000 88,820 1278 0.86 32% 48% 63% 44%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 543 0.02 33% 0% 33% 100%
reverse-complement  #3 0.14  2,500,000 ? 543 0.14 33% 64% 20% 14%
reverse-complement  #3 0.92  25,000,000 165,520 543 0.94 2% 90% 11% 2%
source secs N mem gz cpu cpu load
reverse-complement  0.03  250,000 ? 1243 0.02 33% 50% 0% 33%
reverse-complement  0.12  2,500,000 ? 1243 0.16 36% 91% 0% 0%
reverse-complement  0.94  25,000,000 258,888 1243 1.07 52% 56% 3% 11%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.07  250,000 ? 546 ? 100% 0% 0% 0%
reverse-complement  #2 0.49  2,500,000 ? 546 ? 2% 4% 54% 44%
reverse-complement  #2 0.92  25,000,000 165,740 546 0.94 3% 1% 12% 88%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 668 0.15 63% 33% 56% 71%
spectral-norm  #2 1.19  3,000 1,372 668 4.68 98% 98% 98% 99%
spectral-norm  #2 3.99  5,500 1,376 668 15.70 98% 98% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.04  500 ? 548 0.13 80% 80% 60% 50%
spectral-norm  #4 1.19  3,000 1,376 548 4.67 100% 99% 98% 99%
spectral-norm  #4 3.95  5,500 2,156 548 15.70 100% 99% 99% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.13  500 ? 411 0.13 93% 0% 0% 0%
spectral-norm  4.67  3,000 1,648 411 4.67 100% 1% 1% 1%
spectral-norm  15.70  5,500 2,176 411 15.70 1% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #6 0.16  500,000 ? 420 0.16 0% 0% 0% 100%
thread-ring  #6 1.48  5,000,000 2,364 420 1.48 0% 99% 3% 0%
thread-ring  #6 14.67  50,000,000 2,368 420 14.67 0% 2% 100% 0%
source secs N mem gz cpu cpu load
thread-ring  #5 0.71  500,000 2,372 405 1.53 59% 66% 47% 45%
thread-ring  #5 7.09  5,000,000 2,372 405 15.32 54% 55% 55% 53%
thread-ring  #5 70.39  50,000,000 2,372 405 151.42 56% 55% 54% 54%