The Computer Language
Benchmarks Game

all Go programs & measurements

go version go1.8.1 linux/amd64

source secs N mem gz cpu cpu load
binary-trees  #4  7 ? 654 ?
binary-trees  #4 0.14  14 ? 654 0.40 67% 77% 71% 69%
binary-trees  #4 34.77  21 269,068 654 132.04 95% 97% 95% 95%
source secs N mem gz cpu cpu load
binary-trees  #9  7 ? 508 ?
binary-trees  #9 0.30  14 800 508 0.35 38% 40% 21% 33%
binary-trees  #9 63.49  21 288,524 508 103.46 43% 38% 46% 38%
source secs N mem gz cpu cpu load
binary-trees  #7  7 ? 525 0.00
binary-trees  #7 0.29  14 824 525 0.36 47% 21% 29% 34%
binary-trees  #7 66.59  21 279,408 525 108.84 42% 42% 47% 34%
source secs N mem gz cpu cpu load
binary-trees  0.02  7 ? 482 ? 0% 0% 100% 0%
binary-trees  0.28  14 824 482 0.36 31% 39% 39% 21%
binary-trees  65.70  21 283,056 482 105.81 43% 39% 43% 38%
source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 660 ?
binary-trees  #2 0.14  14 ? 660 0.40 69% 77% 85% 67%
binary-trees  #2 35.07  21 275,868 660 133.58 95% 96% 97% 95%
source secs N mem gz cpu cpu load
binary-trees  #5  7 ? 950 0.00
binary-trees  #5 0.14  14 ? 950 0.41 77% 80% 85% 62%
binary-trees  #5 35.86  21 272,704 950 140.11 98% 98% 98% 98%
source secs N mem gz cpu cpu load
chameneos-redux  0.08  60,000 ? 1167 0.24 100% 17% 100% 100%
chameneos-redux  0.69  600,000 832 1167 2.35 83% 87% 72% 100%
chameneos-redux  6.90  6,000,000 832 1167 24.19 100% 96% 56% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.08  60,000 ? 1408 0.29 90% 100% 88% 67%
chameneos-redux  #2 0.80  600,000 1,380 1408 2.86 99% 99% 99% 67%
chameneos-redux  #2 7.59  6,000,000 1,384 1408 27.65 91% 99% 99% 78%
source secs N mem gz cpu cpu load
chameneos-redux  #5 0.13  60,000 ? 957 0.40 83% 75% 77% 77%
chameneos-redux  #5 1.26  600,000 1,368 957 3.76 77% 75% 78% 69%
chameneos-redux  #5 11.05  6,000,000 832 957 32.48 75% 74% 75% 73%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.13  10 ? 896 0.38 75% 85% 64% 77%
fannkuch-redux  #2 1.17  11 2,832 896 4.54 98% 98% 97% 98%
fannkuch-redux  #2 15.82  12 64,636 896 63.04 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.11  10 ? 900 0.36 83% 82% 82% 82%
fannkuch-redux  1.15  11 824 900 4.51 98% 98% 98% 98%
fannkuch-redux  15.81  12 1,372 900 62.92 100% 100% 99% 99%
source secs N mem gz cpu cpu load
fasta  #3 0.03  250,000 ? 1344 0.07 100% 50% 67% 67%
fasta  #3 0.21  2,500,000 1,404 1344 0.60 38% 86% 86% 80%
fasta  #3 1.98  25,000,000 3,044 1344 5.65 75% 82% 47% 85%
source secs N mem gz cpu cpu load
fasta  0.08  250,000 ? 1036 0.08 0% 0% 89% 0%
fasta  0.70  2,500,000 1,400 1036 0.69 1% 4% 100% 1%
fasta  6.57  25,000,000 1,460 1036 6.56 2% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1388 0.08 75% 50% 0% 60%
fasta  #2 0.30  2,500,000 904 1388 0.65 63% 63% 58% 41%
fasta  #2 2.77  25,000,000 10,976 1388 6.20 66% 56% 72% 33%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.58  250,000 39,000 1531 1.90 95% 81% 74% 81%
k-nucleotide  #2 4.45  2,500,000 57,616 1531 13.13 71% 76% 80% 71%
k-nucleotide  #2 49.94  25,000,000 265,556 1531 165.46 70% 89% 77% 96%
source secs N mem gz cpu cpu load
k-nucleotide  0.72  250,000 31,072 980 2.41 99% 67% 94% 78%
k-nucleotide  7.27  2,500,000 46,492 980 22.93 99% 67% 67% 84%
k-nucleotide  58.30  25,000,000 391,800 980 207.93 86% 89% 99% 84%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.23  250,000 892 1713 0.75 91% 83% 71% 91%
k-nucleotide  #3 1.77  2,500,000 33,100 1713 6.24 97% 84% 81% 94%
k-nucleotide  #3 17.09  25,000,000 149,120 1713 63.16 95% 94% 90% 93%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.24  250,000 832 1582 0.76 74% 72% 96% 83%
k-nucleotide  #6 1.80  2,500,000 34,032 1582 6.47 97% 84% 87% 94%
k-nucleotide  #6 16.08  25,000,000 149,180 1582 59.44 95% 90% 90% 97%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.03  1,000 ? 894 0.10 67% 100% 100% 50%
mandelbrot  #3 0.37  4,000 1,460 894 1.42 100% 97% 97% 97%
mandelbrot  #3 5.64  16,000 31,312 894 22.41 99% 100% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.05  1,000 ? 823 0.17 83% 80% 80% 100%
mandelbrot  0.63  4,000 2,468 823 2.44 98% 98% 97% 98%
mandelbrot  9.53  16,000 33,708 823 37.96 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.06  1,000 ? 837 0.19 100% 80% 83% 100%
mandelbrot  #2 0.74  4,000 2,332 837 2.80 97% 95% 93% 99%
mandelbrot  #2 16.57  16,000 34,168 837 50.04 100% 68% 68% 68%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.05  1,000 ? 700 0.18 75% 80% 83% 100%
mandelbrot  #6 0.71  4,000 2,376 700 2.77 99% 99% 99% 99%
mandelbrot  #6 11.07  16,000 32,508 700 44.10 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.13  2,098 ? 2986 0.13 100% 0% 8% 8%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 828 1310 0.22 0% 100% 9% 0%
n-body  2.16  5,000,000 828 1310 2.16 0% 100% 1% 1%
n-body  21.52  50,000,000 832 1310 21.52 1% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 828 1215 0.23 100% 0% 0% 8%
n-body  #2 2.23  5,000,000 828 1215 2.22 100% 1% 1% 0%
n-body  #2 22.23  50,000,000 832 1215 22.22 100% 0% 1% 1%
source secs N mem gz cpu cpu load
pidigits  #2 0.18  2,000 ? 729 0.18 0% 0% 100% 0%
pidigits  #2 1.14  6,000 8,304 729 1.13 0% 0% 4% 100%
pidigits  #2 2.94  10,000 8,948 729 2.94 0% 100% 1% 1%
source secs N mem gz cpu cpu load
pidigits  #3 0.13  2,000 ? 603 0.13 0% 0% 0% 100%
pidigits  #3 0.79  6,000 7,980 603 0.79 100% 4% 3% 4%
pidigits  #3 2.02  10,000 8,588 603 2.02 100% 0% 1% 1%
source secs N mem gz cpu cpu load
pidigits  0.18  2,000 ? 704 0.18 0% 11% 11% 100%
pidigits  1.15  6,000 10,336 704 1.15 7% 67% 23% 5%
pidigits  2.96  10,000 9,368 704 2.97 47% 34% 15% 5%
regex-redux  #9 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  0.56  50,000 5,780 737 1.36 64% 51% 67% 68%
regex-redux  5.83  500,000 37,692 737 14.14 67% 67% 56% 54%
regex-redux  53.83  5,000,000 322,420 737 125.41 55% 54% 67% 59%
source secs N mem gz cpu cpu load
regex-redux  #2 0.31  50,000 1,016 798 0.64 79% 42% 59% 42%
regex-redux  #2 3.05  500,000 44,664 798 6.18 37% 64% 38% 70%
regex-redux  #2 29.51  5,000,000 352,804 798 61.51 77% 49% 43% 40%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.02  250,000 ? 926 0.02 50% 0% 67% 50%
reverse-complement  #5 0.14  2,500,000 ? 926 0.20 50% 21% 36% 57%
reverse-complement  #5 1.23  25,000,000 358,860 926 1.73 2% 48% 38% 57%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.02  250,000 ? 1278 0.03 33% 67% 0% 50%
reverse-complement  #6 0.09  2,500,000 ? 1278 0.15 50% 50% 33% 71%
reverse-complement  #6 0.49  25,000,000 88,056 1278 0.87 27% 43% 28% 81%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 543 0.02 33% 100% 67% 0%
reverse-complement  #3 0.14  2,500,000 ? 543 0.14 7% 0% 29% 64%
reverse-complement  #3 0.92  25,000,000 165,508 543 0.95 0% 3% 9% 90%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1243 0.02 0% 60% 67% 0%
reverse-complement  0.11  2,500,000 ? 1243 0.15 91% 20% 20% 17%
reverse-complement  0.85  25,000,000 258,804 1243 1.00 52% 15% 50% 3%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.02  250,000 ? 546 0.02 33% 33% 0% 100%
reverse-complement  #2 0.14  2,500,000 ? 546 0.14 0% 7% 69% 38%
reverse-complement  #2 0.91  25,000,000 165,828 546 0.94 2% 90% 10% 3%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.05  500 ? 668 0.14 60% 75% 57% 83%
spectral-norm  #2 1.24  3,000 1,364 668 4.69 94% 95% 95% 96%
spectral-norm  #2 4.01  5,500 1,372 668 15.72 98% 98% 99% 98%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.04  500 ? 548 0.14 75% 75% 80% 80%
spectral-norm  #4 1.19  3,000 1,376 548 4.68 99% 98% 98% 98%
spectral-norm  #4 3.96  5,500 2,148 548 15.71 100% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  0.14  500 ? 411 0.13 93% 0% 7% 7%
spectral-norm  4.68  3,000 1,640 411 4.67 2% 100% 0% 0%
spectral-norm  15.70  5,500 2,168 411 15.69 1% 1% 100% 0%
source secs N mem gz cpu cpu load
thread-ring  #6 0.16  500,000 ? 420 0.16 0% 0% 0% 94%
thread-ring  #6 1.50  5,000,000 2,360 420 1.49 1% 100% 3% 1%
thread-ring  #6 14.71  50,000,000 2,616 420 14.71 1% 1% 70% 30%
source secs N mem gz cpu cpu load
thread-ring  #5 0.69  500,000 2,364 405 1.47 66% 37% 63% 50%
thread-ring  #5 7.60  5,000,000 2,360 405 16.16 57% 48% 52% 56%
thread-ring  #5 76.26  50,000,000 2,364 405 161.93 56% 51% 54% 53%