The Computer Language
Benchmarks Game

all Go programs & measurements

go version go1.13 linux/amd64

source secs N mem gz cpu cpu load
binary-trees  #4 0.24  7 0 654 0.01 0% 76% 63% 0%
binary-trees  #4 0.14  14 0 654 0.43 80% 69% 81% 79%
binary-trees  #4 27.56  21 498,500 654 105.28 95% 98% 95% 95%
source secs N mem gz cpu cpu load
binary-trees  #9 0.27  7 0 1007 0.01 0% 12% 65% 48%
binary-trees  #9 0.10  14 0 1007 0.31 78% 89% 75% 64%
binary-trees  #9 26.46  21 572,836 1007 89.44 86% 84% 85% 85%
source secs N mem gz cpu cpu load
binary-trees  #7 0.19  7 0 525 0.01 0% 44% 55% 16%
binary-trees  #7 0.29  14 1,584 525 0.37 31% 44% 32% 18%
binary-trees  #7 57.98  21 258,268 525 105.08 46% 46% 45% 47%
source secs N mem gz cpu cpu load
binary-trees  #6 0.23  7 0 611 0.01 46% 0% 0% 41%
binary-trees  #6 0.40  14 1,584 611 0.40 0% 7% 0% 100%
binary-trees  #6 77.05  21 372,144 611 78.89 3% 26% 74% 1%
source secs N mem gz cpu cpu load
binary-trees  #2 0.24  7 0 660 0.01 54% 4% 0% 50%
binary-trees  #2 0.14  14 0 660 0.41 92% 67% 77% 85%
binary-trees  #2 27.79  21 479,176 660 105.65 96% 95% 96% 96%
source secs N mem gz cpu cpu load
binary-trees  0.32  7 0 482 0.01 39% 34% 59% 18%
binary-trees  0.28  14 1,584 482 0.36 25% 55% 30% 19%
binary-trees  56.45  21 250,400 482 101.44 48% 41% 47% 45%
source secs N mem gz cpu cpu load
binary-trees  #5 0.19  7 0 950 0.01 0% 79% 45% 0%
binary-trees  #5 0.14  14 0 950 0.40 71% 80% 71% 54%
binary-trees  #5 27.04  21 468,452 950 106.08 99% 99% 98% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  0.43  10 8 900 0.41 63% 22% 26% 59%
fannkuch-redux  1.26  11 1,468 900 4.97 99% 99% 99% 98%
fannkuch-redux  17.56  12 1,524 900 69.86 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.50  10 8 969 0.35 16% 78% 60% 20%
fannkuch-redux  #3 1.08  11 1,412 969 4.23 99% 98% 98% 98%
fannkuch-redux  #3 14.79  12 1,532 969 58.88 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.54  10 8 896 0.42 78% 20% 19% 45%
fannkuch-redux  #2 1.34  11 4,588 896 5.15 96% 97% 99% 96%
fannkuch-redux  #2 17.57  12 11,420 896 69.99 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.22  250,000 0 1358 0.07 65% 18% 13% 36%
fasta  #3 0.23  2,500,000 1,408 1358 0.62 36% 65% 83% 75%
fasta  #3 2.08  25,000,000 3,560 1358 5.57 80% 37% 76% 78%
source secs N mem gz cpu cpu load
fasta  0.28  250,000 0 1053 0.08 26% 3% 0% 62%
fasta  0.77  2,500,000 1,540 1053 0.77 1% 100% 1% 3%
fasta  7.08  25,000,000 1,600 1053 7.08 0% 40% 62% 1%
source secs N mem gz cpu cpu load
fasta  #2 0.23  250,000 0 1404 0.09 78% 4% 12% 46%
fasta  #2 0.30  2,500,000 1,528 1404 0.70 45% 74% 59% 59%
fasta  #2 2.73  25,000,000 11,156 1404 6.38 60% 80% 48% 53%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.56  250,000 8 1590 0.67 57% 30% 35% 59%
k-nucleotide  #6 2.21  2,500,000 35,740 1590 5.16 78% 51% 70% 73%
k-nucleotide  #6 12.22  25,000,000 150,732 1590 45.46 97% 92% 91% 93%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.80  250,000 2,576 1607 0.85 66% 30% 37% 50%
k-nucleotide  #7 2.08  2,500,000 40,056 1607 4.84 79% 67% 62% 68%
k-nucleotide  #7 11.77  25,000,000 160,184 1607 44.46 94% 98% 94% 92%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.78  250,000 17,156 1543 0.86 88% 38% 39% 36%
k-nucleotide  #4 2.33  2,500,000 30,704 1543 6.49 56% 93% 68% 78%
k-nucleotide  #4 17.26  25,000,000 145,280 1543 59.37 86% 81% 89% 89%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.55  250,000 8 1722 0.70 64% 40% 36% 53%
k-nucleotide  #3 2.20  2,500,000 35,600 1722 5.61 75% 67% 66% 73%
k-nucleotide  #3 13.41  25,000,000 150,716 1722 50.95 95% 99% 91% 96%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.45  1,000 0 837 0.21 52% 11% 11% 61%
mandelbrot  #2 0.80  4,000 2,832 837 3.11 96% 99% 99% 100%
mandelbrot  #2 12.47  16,000 33,064 837 49.75 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.31  1,000 0 823 0.19 83% 17% 16% 50%
mandelbrot  0.69  4,000 2,768 823 2.68 97% 99% 97% 100%
mandelbrot  20.88  16,000 34,272 823 42.03 35% 0% 100% 67%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.40  1,000 8 905 0.10 72% 10% 7% 32%
mandelbrot  #4 0.36  4,000 1,600 905 1.39 97% 100% 97% 97%
mandelbrot  #4 5.47  16,000 31,088 905 21.76 100% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.31  1,000 0 700 0.22 19% 67% 45% 39%
mandelbrot  #6 0.83  4,000 2,932 700 3.22 99% 98% 96% 98%
mandelbrot  #6 12.80  16,000 32,720 700 51.08 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.23  1,000 0 894 0.10 61% 16% 13% 50%
mandelbrot  #3 0.36  4,000 1,544 894 1.39 97% 97% 100% 97%
mandelbrot  #3 5.48  16,000 30,844 894 21.77 99% 99% 100% 99%
source secs N mem gz cpu cpu load
n-body  #2 0.48  500,000 8 1215 0.27 4% 21% 92% 0%
n-body  #2 2.67  5,000,000 1,528 1215 2.67 1% 2% 1% 100%
n-body  #2 26.75  50,000,000 1,588 1215 26.76 0% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.51  500,000 8 1200 0.27 84% 2% 4% 18%
n-body  #3 2.56  5,000,000 1,424 1200 2.56 1% 100% 3% 1%
n-body  #3 25.61  50,000,000 1,604 1200 25.61 0% 10% 91% 0%
source secs N mem gz cpu cpu load
n-body  0.43  500,000 8 1310 0.22 0% 74% 14% 24%
n-body  2.13  5,000,000 1,588 1310 2.13 2% 0% 100% 0%
n-body  21.25  50,000,000 1,588 1310 21.26 2% 0% 100% 1%
source secs N mem gz cpu cpu load
pidigits  #3 0.39  2,000 8 603 0.14 34% 22% 63% 15%
pidigits  #3 0.88  6,000 7,656 603 0.89 47% 9% 1% 44%
pidigits  #3 2.10  10,000 8,448 603 2.13 1% 48% 55% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.42  2,000 8 733 0.19 12% 38% 65% 5%
pidigits  #2 1.16  6,000 8,152 733 1.17 75% 3% 13% 19%
pidigits  #2 3.04  10,000 8,856 733 3.07 52% 1% 1% 49%
source secs N mem gz cpu cpu load
pidigits  0.48  2,000 8 708 0.19 27% 54% 46% 25%
pidigits  1.13  6,000 8,152 708 1.15 35% 28% 1% 43%
pidigits  2.94  10,000 9,024 708 2.98 20% 1% 2% 81%
source secs N mem gz cpu cpu load
regex-redux  0.82  50,000 5,704 741 1.08 52% 40% 41% 60%
regex-redux  4.77  500,000 46,424 741 11.00 49% 61% 69% 60%
regex-redux  45.20  5,000,000 467,424 741 107.95 61% 60% 59% 59%
source secs N mem gz cpu cpu load
regex-redux  #2 0.53  50,000 6,692 802 0.64 57% 23% 43% 46%
regex-redux  #2 3.09  500,000 44,008 802 6.31 45% 60% 42% 65%
regex-redux  #2 29.82  5,000,000 428,224 802 62.42 48% 45% 52% 65%
source secs N mem gz cpu cpu load
regex-redux  #3 0.75  50,000 6,192 829 1.22 75% 31% 42% 58%
regex-redux  #3 4.73  500,000 50,740 829 11.35 60% 63% 76% 59%
regex-redux  #3 44.75  5,000,000 496,332 829 107.87 58% 56% 61% 67%
source secs N mem gz cpu cpu load
regex-redux  #5 0.59  50,000 2,420 810 0.12 28% 29% 32% 68%
regex-redux  #5 0.79  500,000 32,704 810 0.96 29% 35% 32% 32%
regex-redux  #5 6.84  5,000,000 340,376 810 9.32 30% 43% 13% 52%
source secs N mem gz cpu cpu load
regex-redux  #4 0.46  50,000 8 829 0.79 89% 34% 38% 45%
regex-redux  #4 3.26  500,000 46,284 829 7.54 69% 48% 68% 50%
regex-redux  #4 31.72  5,000,000 478,084 829 74.29 69% 49% 58% 58%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.27  250,000 0 996 0.03 54% 0% 0% 35%
reverse-complement  #5 5.32  100,000,000 1,272,032 996 6.20 2% 39% 16% 60%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.43  250,000 8 605 0.03 0% 59% 69% 12%
reverse-complement  #3 4.15  100,000,000 826,480 605 4.28 4% 24% 0% 76%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.24  250,000 0 1338 0.03 43% 4% 4% 39%
reverse-complement  #6 3.83  100,000,000 1,782,940 1338 6.57 21% 74% 16% 62%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.30  250,000 0 611 0.03 0% 52% 45% 17%
reverse-complement  #2 3.87  100,000,000 826,772 611 4.00 0% 1% 13% 90%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 0 1254 0.03 0% 100% 33% 0%
reverse-complement  Failed  100,000,000
source secs N mem gz cpu cpu load
spectral-norm  #4 0.27  500 0 548 0.15 37% 50% 56% 19%
spectral-norm  #4 1.21  3,000 1,992 548 4.70 98% 97% 98% 98%
spectral-norm  #4 3.96  5,500 2,752 548 15.70 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  0.48  500 8 411 0.14 81% 4% 0% 22%
spectral-norm  4.68  3,000 2,236 411 4.68 0% 4% 100% 1%
spectral-norm  15.70  5,500 2,764 411 15.70 0% 0% 100% 0%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.35  500 8 668 0.14 54% 37% 69% 9%
spectral-norm  #2 1.26  3,000 1,468 668 4.70 94% 94% 94% 94%
spectral-norm  #2 4.09  5,500 1,992 668 15.75 96% 96% 98% 96%