The Computer Language
Benchmarks Game

all Go programs & measurements

go version go1.14 linux/amd64

source secs N mem gz cpu cpu load
binary-trees  #4 0.38  7 0 654 0.01 54% 0% 3% 76%
binary-trees  #4 0.14  14 0 654 0.42 79% 81% 79% 80%
binary-trees  #4 27.54  21 365,464 654 104.06 95% 95% 98% 95%
source secs N mem gz cpu cpu load
binary-trees  #3 0.52  7 8 799 0.01 94% 27% 7% 63%
binary-trees  #3 0.12  14 0 799 0.41 83% 83% 82% 92%
binary-trees  #3 26.71  21 364,348 799 102.62 98% 97% 98% 97%
source secs N mem gz cpu cpu load
binary-trees  #9 0.29  7 0 1007 0.01 0% 93% 32% 0%
binary-trees  #9 0.10  14 0 1007 0.31 70% 73% 83% 73%
binary-trees  #9 25.19  21 397,116 1007 84.39 88% 86% 84% 83%
source secs N mem gz cpu cpu load
binary-trees  #7 0.23  7 0 525 0.01 9% 45% 77% 4%
binary-trees  #7 0.30  14 1,120 525 0.38 60% 33% 21% 39%
binary-trees  #7 58.34  21 260,828 525 105.49 47% 52% 43% 48%
source secs N mem gz cpu cpu load
binary-trees  #6 0.28  7 0 611 0.01 64% 0% 0% 38%
binary-trees  #6 0.40  14 1,124 611 0.40 26% 100% 20% 5%
binary-trees  #6 77.44  21 378,284 611 79.28 17% 5% 4% 83%
source secs N mem gz cpu cpu load
binary-trees  #2 0.25  7 0 660 0.01 75% 0% 0% 20%
binary-trees  #2 0.14  14 0 660 0.42 69% 85% 73% 64%
binary-trees  #2 27.44  21 366,200 660 103.15 95% 95% 97% 95%
source secs N mem gz cpu cpu load
binary-trees  0.32  7 0 482 0.01 50% 3% 3% 65%
binary-trees  0.29  14 1,120 482 0.37 32% 39% 26% 38%
binary-trees  56.50  21 256,472 482 101.06 46% 47% 51% 43%
source secs N mem gz cpu cpu load
binary-trees  #5 0.56  7 8 950 0.01 61% 34% 37% 48%
binary-trees  #5 0.13  14 0 950 0.41 85% 77% 85% 86%
binary-trees  #5 25.99  21 354,868 950 101.40 99% 99% 99% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  0.46  10 8 900 0.41 84% 22% 36% 61%
fannkuch-redux  1.26  11 1,792 900 4.90 99% 98% 98% 99%
fannkuch-redux  17.34  12 3,732 900 68.43 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.55  10 8 969 0.35 74% 15% 15% 57%
fannkuch-redux  #3 1.07  11 1,868 969 4.17 98% 98% 98% 98%
fannkuch-redux  #3 14.93  12 3,484 969 58.90 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.57  10 8 896 0.43 59% 16% 31% 71%
fannkuch-redux  #2 1.28  11 4,264 896 4.95 98% 98% 97% 98%
fannkuch-redux  #2 17.43  12 14,512 896 68.75 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.19  250,000 0 1358 0.07 65% 14% 23% 35%
fasta  #3 0.23  2,500,000 1,108 1358 0.60 68% 48% 83% 77%
fasta  #3 2.11  25,000,000 4,228 1358 5.54 69% 65% 64% 70%
source secs N mem gz cpu cpu load
fasta  0.33  250,000 0 1053 0.08 56% 6% 22% 34%
fasta  0.76  2,500,000 1,860 1053 0.76 4% 100% 1% 5%
fasta  7.08  25,000,000 1,860 1053 7.08 2% 1% 100% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.20  250,000 0 1404 0.09 62% 15% 10% 30%
fasta  #2 0.30  2,500,000 1,112 1404 0.69 66% 60% 72% 50%
fasta  #2 2.73  25,000,000 11,244 1404 6.38 62% 71% 61% 52%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.56  250,000 4,052 1590 0.67 73% 42% 30% 57%
k-nucleotide  #6 2.25  2,500,000 36,092 1590 5.09 72% 64% 64% 65%
k-nucleotide  #6 14.72  25,000,000 150,592 1590 52.00 85% 80% 98% 97%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.56  250,000 5,472 1607 0.86 49% 50% 36% 59%
k-nucleotide  #7 2.17  2,500,000 26,380 1607 5.14 87% 61% 63% 76%
k-nucleotide  #7 12.97  25,000,000 160,004 1607 47.57 92% 96% 92% 91%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.69  250,000 2,736 1543 0.97 63% 50% 19% 71%
k-nucleotide  #4 3.31  2,500,000 31,208 1543 9.13 59% 51% 91% 88%
k-nucleotide  #4 15.57  25,000,000 145,440 1543 51.33 75% 82% 85% 94%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.70  250,000 8 1722 0.62 76% 31% 29% 73%
k-nucleotide  #3 1.83  2,500,000 35,920 1722 4.86 79% 65% 70% 81%
k-nucleotide  #3 12.67  25,000,000 150,584 1722 46.68 95% 90% 93% 96%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.23  1,000 0 837 0.21 61% 26% 18% 32%
mandelbrot  #2 0.82  4,000 2,688 837 3.12 95% 95% 100% 96%
mandelbrot  #2 12.66  16,000 33,028 837 49.59 99% 99% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.35  1,000 0 823 0.20 84% 15% 19% 69%
mandelbrot  0.72  4,000 2,964 823 2.71 96% 100% 96% 96%
mandelbrot  10.87  16,000 34,380 823 42.27 99% 97% 98% 100%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.28  1,000 0 905 0.10 50% 7% 17% 52%
mandelbrot  #4 0.36  4,000 1,104 905 1.39 97% 97% 97% 97%
mandelbrot  #4 5.56  16,000 30,388 905 21.84 100% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.32  1,000 0 700 0.22 45% 38% 66% 21%
mandelbrot  #6 0.83  4,000 3,144 700 3.22 99% 99% 98% 99%
mandelbrot  #6 12.96  16,000 32,692 700 51.11 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.35  1,000 0 894 0.10 72% 14% 6% 57%
mandelbrot  #3 0.37  4,000 1,108 894 1.39 97% 94% 97% 100%
mandelbrot  #3 5.55  16,000 30,300 894 21.82 99% 99% 99% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.58  500,000 1,712 1215 0.27 81% 7% 5% 30%
n-body  #2 2.69  5,000,000 1,880 1215 2.68 0% 100% 3% 0%
n-body  #2 26.77  50,000,000 1,884 1215 26.78 80% 3% 1% 21%
source secs N mem gz cpu cpu load
n-body  #3 0.51  500,000 8 1200 0.27 82% 0% 4% 22%
n-body  #3 2.58  5,000,000 1,820 1200 2.58 1% 100% 0% 2%
n-body  #3 25.68  50,000,000 1,880 1200 25.69 1% 0% 100% 3%
source secs N mem gz cpu cpu load
n-body  0.57  500,000 8 1310 0.22 72% 30% 8% 43%
n-body  2.13  5,000,000 1,888 1310 2.13 1% 4% 100% 2%
n-body  21.26  50,000,000 1,888 1310 21.27 3% 0% 100% 2%
source secs N mem gz cpu cpu load
pidigits  #3 0.51  2,000 8 603 0.14 42% 8% 22% 37%
pidigits  #3 0.78  6,000 7,524 603 0.79 34% 4% 0% 70%
pidigits  #3 2.04  10,000 8,724 603 2.07 20% 32% 33% 31%
source secs N mem gz cpu cpu load
pidigits  #2 0.77  2,000 8 733 0.16 16% 58% 41% 35%
pidigits  #2 1.12  6,000 7,752 733 1.13 5% 10% 41% 55%
pidigits  #2 2.91  10,000 9,236 733 2.97 14% 9% 46% 36%
source secs N mem gz cpu cpu load
pidigits  0.57  2,000 8 708 0.16 52% 64% 0% 12%
pidigits  1.05  6,000 8,692 708 1.09 8% 100% 6% 7%
pidigits  2.79  10,000 10,084 708 2.88 1% 95% 3% 7%
source secs N mem gz cpu cpu load
regex-redux  0.80  50,000 6,160 741 1.09 29% 64% 57% 38%
regex-redux  4.90  500,000 33,464 741 11.30 48% 52% 75% 65%
regex-redux  45.46  5,000,000 370,676 741 107.18 63% 62% 65% 52%
source secs N mem gz cpu cpu load
regex-redux  #3 0.91  50,000 6,052 829 1.12 54% 46% 40% 62%
regex-redux  #3 4.86  500,000 43,448 829 11.36 52% 69% 50% 72%
regex-redux  #3 45.37  5,000,000 410,760 829 109.07 65% 52% 67% 63%
source secs N mem gz cpu cpu load
regex-redux  #5 0.51  50,000 8 810 0.12 51% 36% 34% 30%
regex-redux  #5 0.84  500,000 36,588 810 1.03 78% 34% 20% 12%
regex-redux  #5 7.21  5,000,000 326,552 810 9.74 22% 18% 87% 14%
source secs N mem gz cpu cpu load
regex-redux  #4 0.53  50,000 8 829 0.61 71% 56% 34% 36%
regex-redux  #4 2.61  500,000 44,352 829 5.73 51% 73% 48% 56%
regex-redux  #4 24.60  5,000,000 381,640 829 56.13 66% 64% 45% 59%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.29  250,000 0 996 0.04 21% 7% 0% 59%
reverse-complement  #5 4.36  100,000,000 1,508,976 996 6.61 28% 14% 55% 66%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.39  250,000 0 605 0.03 51% 5% 0% 32%
reverse-complement  #3 4.00  100,000,000 827,360 605 4.14 86% 12% 1% 8%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.33  250,000 0 1338 0.04 15% 79% 54% 14%
reverse-complement  #6 4.16  100,000,000 1,840,788 1338 6.88 51% 59% 33% 25%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.95  250,000 0 611 0.03 61% 18% 47% 31%
reverse-complement  #2 3.73  100,000,000 826,488 611 3.87 88% 6% 2% 14%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 0 1254 0.02 50% 0% 33% 50%
reverse-complement  Failed  100,000,000
source secs N mem gz cpu cpu load
spectral-norm  #4 0.41  500 0 548 0.14 88% 17% 5% 26%
spectral-norm  #4 1.25  3,000 2,156 548 4.69 94% 97% 96% 95%
spectral-norm  #4 4.12  5,500 2,704 548 15.72 96% 98% 97% 96%
source secs N mem gz cpu cpu load
spectral-norm  0.50  500 0 411 0.14 0% 62% 54% 4%
spectral-norm  4.68  3,000 2,440 411 4.68 100% 2% 1% 3%
spectral-norm  15.71  5,500 2,720 411 15.71 87% 3% 14% 1%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.35  500 0 668 0.16 30% 12% 61% 20%
spectral-norm  #2 1.36  3,000 1,880 668 4.72 87% 89% 88% 90%
spectral-norm  #2 4.22  5,500 1,880 668 15.78 96% 95% 94% 95%