The Computer Language
23.03 Benchmarks Game

all Go programs & measurements

go version go1.20 linux/amd64
GOAMD64=v2

source secs N mem gz cpu secs cpu load
binary-trees  #7 0.00  7 11,128 525 0.00 0% 0% 0% 0%
binary-trees  #7 0.24  14 11,128 525 0.28 29% 39% 21% 26%
binary-trees  #7 33.37  21 247,824 525 60.85 47% 47% 45% 43%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.00  7 11,124 799 0.00 0% 0% 0% 0%
binary-trees  #3 0.08  14 11,124 799 0.26 85% 87% 87% 87%
binary-trees  #3 15.07  21 342,008 799 58.61 97% 98% 97% 97%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.01  7 11,124 666 0.01 0% 0% 0% 0%
binary-trees  #2 0.08  14 11,124 666 0.26 87% 77% 85% 75%
binary-trees  #2 14.69  21 642,688 666 58.49 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
binary-trees  0.00  7 11,128 482 0.00 0% 0% 0% 0%
binary-trees  0.28  14 11,128 482 0.34 21% 35% 34% 25%
binary-trees  34.62  21 236,728 482 61.41 41% 47% 46% 42%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.00  7 11,128 950 0.00 50% 0% 0% 0%
binary-trees  #5 0.08  14 11,128 950 0.25 100% 87% 85% 75%
binary-trees  #5 14.70  21 406,544 950 57.87 98% 99% 99% 99%
source secs N mem gz cpu secs cpu load
binary-trees  #6 0.00  7 11,124 611 0.00 0% 0% 0% 100%
binary-trees  #6 0.14  14 11,124 611 0.14 0% 0% 100% 0%
binary-trees  #6 27.82  21 410,808 611 28.59 97% 3% 2% 1%
source secs N mem gz cpu secs cpu load
fannkuch-redux  0.08  10 11,128 900 0.28 88% 87% 87% 88%
fannkuch-redux  0.87  11 11,128 900 3.42 98% 98% 97% 97%
fannkuch-redux  11.83  12 11,128 900 47.26 100% 99% 100% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 0.07  10 10,936 969 0.21 66% 85% 75% 50%
fannkuch-redux  #3 0.62  11 10,936 969 2.43 98% 98% 98% 98%
fannkuch-redux  #3 8.25  12 10,936 969 32.92 99% 100% 99% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 0.10  10 11,128 896 0.29 80% 50% 55% 81%
fannkuch-redux  #2 0.88  11 11,128 896 3.44 98% 98% 98% 98%
fannkuch-redux  #2 11.89  12 12,708 896 47.47 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
fasta  #3 0.02  250,000 11,136 1358 0.05 100% 50% 33% 0%
fasta  #3 0.16  2,500,000 11,136 1358 0.44 31% 78% 81% 82%
fasta  #3 1.49  25,000,000 11,136 1358 4.10 38% 78% 82% 80%
source secs N mem gz cpu secs cpu load
fasta  #2 0.02  250,000 11,136 1404 0.06 66% 50% 0% 50%
fasta  #2 0.14  2,500,000 11,136 1404 0.46 76% 73% 75% 100%
fasta  #2 1.26  25,000,000 11,136 1404 4.26 83% 84% 89% 84%
source secs N mem gz cpu secs cpu load
fasta  0.05  250,000 11,128 1053 0.05 0% 0% 100% 0%
fasta  0.41  2,500,000 11,128 1053 0.41 0% 2% 100% 0%
fasta  3.78  25,000,000 11,128 1053 3.78 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #7 0.21  250,000 24,008 1607 0.50 52% 68% 61% 52%
k-nucleotide  #7 1.11  2,500,000 41,600 1607 3.14 73% 68% 74% 68%
k-nucleotide  #7 7.48  25,000,000 166,412 1607 28.68 96% 95% 96% 95%
source secs N mem gz cpu secs cpu load
k-nucleotide  #6 0.15  250,000 23,340 1590 0.40 50% 66% 78% 69%
k-nucleotide  #6 1.21  2,500,000 35,780 1590 3.22 69% 70% 61% 65%
k-nucleotide  #6 7.96  25,000,000 148,080 1590 29.25 84% 99% 97% 86%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 0.16  250,000 22,808 1722 0.42 75% 66% 56% 62%
k-nucleotide  #3 1.15  2,500,000 35,804 1722 3.24 73% 64% 63% 80%
k-nucleotide  #3 8.28  25,000,000 148,412 1722 29.93 94% 98% 85% 84%
source secs N mem gz cpu secs cpu load
k-nucleotide  #4 0.14  250,000 17,268 1543 0.36 57% 64% 73% 61%
k-nucleotide  #4 1.67  2,500,000 30,304 1543 4.42 50% 83% 82% 51%
k-nucleotide  #4 9.50  25,000,000 142,624 1543 31.55 81% 97% 83% 70%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 0.02  1,000 11,244 905 0.06 100% 100% 50% 100%
mandelbrot  #4 0.24  4,000 11,244 905 0.94 95% 96% 96% 96%
mandelbrot  #4 3.73  16,000 36,116 905 14.87 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 0.03  1,000 11,244 837 0.11 100% 75% 75% 75%
mandelbrot  #2 0.44  4,000 11,244 837 1.70 93% 97% 95% 100%
mandelbrot  #2 6.76  16,000 33,928 837 26.97 99% 100% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  0.03  1,000 11,244 823 0.09 100% 100% 100% 100%
mandelbrot  0.32  4,000 11,244 823 1.26 100% 100% 100% 100%
mandelbrot  4.92  16,000 33,624 823 19.65 100% 100% 99% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 0.02  1,000 11,244 894 0.07 50% 50% 100% 100%
mandelbrot  #3 0.24  4,000 11,244 894 0.94 100% 100% 100% 100%
mandelbrot  #3 3.73  16,000 36,140 894 14.86 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 0.03  1,000 11,244 700 0.11 66% 66% 100% 75%
mandelbrot  #6 0.44  4,000 11,244 700 1.72 97% 97% 97% 97%
mandelbrot  #6 6.83  16,000 33,632 700 27.22 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
n-body  #3 0.08  500,000 11,244 1200 0.08 100% 0% 0% 11%
n-body  #3 0.65  5,000,000 11,244 1200 0.65 21% 100% 28% 6%
n-body  #3 6.36  50,000,000 11,244 1200 6.37 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #2 0.08  500,000 11,244 1215 0.08 0% 100% 0% 0%
n-body  #2 0.71  5,000,000 11,244 1215 0.71 100% 0% 0% 0%
n-body  #2 6.94  50,000,000 11,244 1215 6.95 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
n-body  0.07  500,000 11,244 1310 0.07 0% 0% 100% 0%
n-body  0.66  5,000,000 11,244 1310 0.66 100% 0% 0% 0%
n-body  6.55  50,000,000 11,244 1310 6.56 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  0.13  2,000 11,244 708 0.11 21% 0% 0% 58%
pidigits  0.52  6,000 11,244 708 0.52 86% 1% 15% 0%
pidigits  1.37  10,000 11,244 708 1.38 99% 0% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #8 0.10  2,000 11,244 720 0.10 0% 0% 0% 100%
pidigits  #8 0.85  6,000 11,244 720 0.85 0% 100% 0% 1%
pidigits  #8 2.46  10,000 11,244 720 2.46 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #3 0.13  2,000 11,244 603 0.09 57% 7% 0% 0%
pidigits  #3 0.60  6,000 11,244 603 0.61 0% 3% 52% 46%
pidigits  #3 1.63  10,000 11,244 603 1.66 46% 45% 10% 0%
source secs N mem gz cpu secs cpu load
pidigits  #2 0.13  2,000 11,244 733 0.10 50% 0% 0% 28%
pidigits  #2 0.83  6,000 11,244 733 0.84 49% 1% 0% 50%
pidigits  #2 1.97  10,000 11,244 733 2.00 3% 55% 14% 28%
source secs N mem gz cpu secs cpu load
pidigits  #4 0.17  2,000 11,244 683 0.10 58% 0% 0% 5%
pidigits  #4 0.39  6,000 11,244 683 0.39 0% 0% 100% 0%
pidigits  #4 1.01  10,000 11,244 683 1.02 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
pidigits  #7 0.14  2,000 11,244 696 0.15 35% 16% 28% 8%
pidigits  #7 1.64  6,000 11,244 696 1.78 24% 25% 30% 28%
pidigits  #7 4.80  10,000 23,844 696 5.31 33% 30% 28% 27%
source secs N mem gz cpu secs cpu load
regex-redux  #3 0.36  50,000 11,244 829 0.72 52% 52% 38% 57%
regex-redux  #3 3.02  500,000 41,520 829 7.04 73% 47% 45% 66%
regex-redux  #3 27.89  5,000,000 368,528 829 67.15 80% 47% 67% 47%
source secs N mem gz cpu secs cpu load
regex-redux  #4 0.22  50,000 11,244 829 0.41 47% 60% 36% 42%
regex-redux  #4 1.73  500,000 33,124 829 3.79 73% 46% 42% 58%
regex-redux  #4 14.80  5,000,000 360,260 829 34.62 61% 49% 71% 52%
source secs N mem gz cpu secs cpu load
regex-redux  0.31  50,000 11,244 741 0.69 71% 63% 43% 46%
regex-redux  3.04  500,000 34,744 741 7.02 51% 63% 62% 53%
regex-redux  28.35  5,000,000 317,752 741 67.40 55% 91% 45% 47%
source secs N mem gz cpu secs cpu load
regex-redux  #5 0.09  50,000 11,244 810 0.08 11% 11% 22% 50%
regex-redux  #5 0.57  500,000 32,912 810 0.76 21% 32% 42% 36%
regex-redux  #5 4.14  5,000,000 302,280 810 6.25 66% 23% 18% 42%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.01  250,000 11,244 996 0.01 0% 0% 0% 0%
reverse-complement  #5 Bad Output  100,000,001
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.08  250,000 11,244 611 0.02 0% 20% 20% 11%
reverse-complement  #2 1.76  100,000,001 814,544 611 1.80 13% 0% 88% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.03  250,000 11,244 605 0.02 25% 0% 20% 50%
reverse-complement  #3 1.96  100,000,001 814,352 605 2.00 12% 3% 86% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  0.01  250,000 11,244 1254 0.01 50% 0% 0% 0%
reverse-complement  Failed  100,000,001
source secs N mem gz cpu secs cpu load
reverse-complement  #6 0.03  250,000 13,448 1338 0.02 25% 33% 0% 33%
reverse-complement  #6 1.33  100,000,001 1,278,596 1338 2.46 45% 31% 78% 31%
source secs N mem gz cpu secs cpu load
simple  0.12  1,000 11,112 462 0.12 50% 7% 92% 0%
simple  1.73  4,000 11,112 462 1.73 31% 100% 0% 0%
simple  27.22  16,000 11,112 462 27.26 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
simple  #2 0.12  1,000 11,112 494 0.12 100% 0% 0% 0%
simple  #2 1.68  4,000 11,112 494 1.68 100% 0% 0% 0%
simple  #2 26.53  16,000 11,112 494 26.57 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #4 0.02  500 11,244 548 0.05 50% 100% 100% 66%
spectral-norm  #4 0.43  3,000 11,244 548 1.69 97% 100% 100% 97%
spectral-norm  #4 1.42  5,500 11,244 548 5.67 99% 100% 99% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  0.05  500 11,244 411 0.05 0% 0% 16% 80%
spectral-norm  1.59  3,000 11,244 411 1.59 0% 0% 100% 0%
spectral-norm  5.31  5,500 11,244 411 5.32 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #2 0.02  500 11,244 668 0.05 50% 66% 66% 50%
spectral-norm  #2 0.43  3,000 11,244 668 1.70 97% 97% 97% 100%
spectral-norm  #2 1.44  5,500 11,244 668 5.67 98% 98% 98% 99%
source secs N mem gz cpu secs cpu load
too simple  0.01  1,000,000 11,136 206 0.01 0% 0% 50% 0%
too simple  0.44  100,000,000 11,136 206 0.44 100% 0% 0% 0%
too simple  43.90  10,000,000,000 11,136 206 43.95 0% 66% 33% 0%