The Computer Language
24.04 Benchmarks Game

all Go programs & measurements

go version go1.22.0 linux/amd64
GOAMD64=v2

source secs N mem gz cpu secs cpu load
binary-trees  #6 0.03  7 19,664 618 0.00 0% 0% 0% 0%
binary-trees  #6 0.15  14 19,664 618 0.15 100% 0% 0% 6%
binary-trees  #6 27.61  21 404,608 618 29.03 97% 2% 2% 4%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.03  7 19,660 672 0.00 0% 0% 0% 0%
binary-trees  #2 0.07  14 19,660 672 0.24 87% 87% 87% 100%
binary-trees  #2 13.87  21 601,252 672 55.04 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.03  7 19,660 957 0.00 0% 25% 0% 0%
binary-trees  #5 0.09  14 19,660 957 0.25 77% 75% 66% 87%
binary-trees  #5 14.37  21 308,092 957 56.80 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
binary-trees  0.03  7 19,660 488 0.00 0% 0% 0% 25%
binary-trees  0.24  14 19,660 488 0.31 26% 45% 33% 21%
binary-trees  30.97  21 262,396 488 57.95 42% 48% 48% 48%
source secs N mem gz cpu secs cpu load
binary-trees  #7 0.03  7 19,660 531 0.00 0% 0% 0% 33%
binary-trees  #7 0.24  14 19,660 531 0.29 50% 40% 28% 20%
binary-trees  #7 33.10  21 292,588 531 61.68 46% 49% 43% 48%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.03  7 19,660 806 0.00 25% 0% 0% 0%
binary-trees  #3 0.08  14 19,660 806 0.26 87% 77% 75% 85%
binary-trees  #3 14.86  21 323,544 806 57.39 97% 96% 97% 96%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 0.10  10 19,664 903 0.29 80% 83% 66% 66%
fannkuch-redux  #2 0.88  11 19,664 903 3.42 97% 98% 97% 98%
fannkuch-redux  #2 11.79  12 19,664 903 46.97 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 0.09  10 19,664 975 0.21 55% 60% 55% 55%
fannkuch-redux  #3 0.63  11 19,664 975 2.46 96% 98% 98% 96%
fannkuch-redux  #3 8.33  12 19,664 975 33.25 100% 99% 100% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  0.26  10 19,792 906 0.28 29% 28% 32% 26%
fannkuch-redux  0.87  11 19,664 906 3.40 98% 97% 97% 98%
fannkuch-redux  11.74  12 19,664 906 46.77 99% 99% 100% 99%
source secs N mem gz cpu secs cpu load
fasta  0.05  250,000 19,676 1055 0.04 0% 83% 20% 0%
fasta  0.41  2,500,000 19,676 1055 0.41 0% 0% 2% 100%
fasta  3.73  25,000,000 19,804 1055 3.74 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
fasta  #3 0.03  250,000 19,664 1362 0.05 50% 50% 33% 25%
fasta  #3 0.16  2,500,000 19,664 1362 0.44 38% 81% 88% 86%
fasta  #3 1.50  25,000,000 19,664 1362 4.08 66% 81% 81% 47%
source secs N mem gz cpu secs cpu load
fasta  #2 0.07  250,000 19,672 1405 0.05 14% 14% 16% 16%
fasta  #2 0.15  2,500,000 19,672 1405 0.44 73% 71% 84% 78%
fasta  #2 1.26  25,000,000 19,672 1405 4.03 81% 77% 87% 77%
source secs N mem gz cpu secs cpu load
k-nucleotide  #4 0.21  250,000 19,676 1552 0.42 54% 42% 55% 55%
k-nucleotide  #4 1.32  2,500,000 29,440 1552 3.57 76% 57% 72% 67%
k-nucleotide  #4 9.07  25,000,000 139,904 1552 30.33 97% 82% 82% 72%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 0.22  250,000 21,632 1729 0.41 47% 38% 57% 45%
k-nucleotide  #3 1.12  2,500,000 34,816 1729 3.19 68% 75% 65% 78%
k-nucleotide  #3 8.38  25,000,000 145,152 1729 30.32 93% 87% 97% 84%
source secs N mem gz cpu secs cpu load
k-nucleotide  #6 0.21  250,000 22,144 1596 0.40 40% 50% 50% 57%
k-nucleotide  #6 1.14  2,500,000 34,816 1596 3.20 75% 73% 61% 75%
k-nucleotide  #6 8.17  25,000,000 145,152 1596 29.90 87% 97% 97% 85%
source secs N mem gz cpu secs cpu load
k-nucleotide  #7 0.28  250,000 20,184 1613 0.55 59% 51% 40% 48%
k-nucleotide  #7 1.08  2,500,000 40,576 1613 3.15 74% 71% 74% 72%
k-nucleotide  #7 7.52  25,000,000 162,944 1613 28.68 95% 97% 95% 95%
source secs N mem gz cpu secs cpu load
mandelbrot  0.10  1,000 19,680 829 0.09 22% 22% 20% 22%
mandelbrot  0.34  4,000 19,680 829 1.29 94% 94% 100% 94%
mandelbrot  5.01  16,000 33,408 829 19.98 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 0.04  1,000 19,680 843 0.11 80% 75% 75% 75%
mandelbrot  #2 0.45  4,000 19,680 843 1.72 97% 100% 97% 95%
mandelbrot  #2 6.85  16,000 33,152 843 27.29 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 0.04  1,000 19,680 707 0.11 75% 75% 50% 50%
mandelbrot  #6 0.45  4,000 19,680 707 1.73 97% 97% 97% 97%
mandelbrot  #6 6.89  16,000 32,768 707 27.40 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 0.03  1,000 19,676 900 0.06 50% 50% 50% 66%
mandelbrot  #3 0.24  4,000 19,676 900 0.95 100% 96% 100% 100%
mandelbrot  #3 3.76  16,000 35,456 900 14.94 99% 100% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 0.03  1,000 19,680 912 0.06 66% 66% 50% 66%
mandelbrot  #4 0.25  4,000 19,680 912 0.95 96% 100% 96% 96%
mandelbrot  #4 3.76  16,000 35,328 912 14.92 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
n-body  #3 0.08  500,000 19,680 1207 0.08 0% 0% 100% 0%
n-body  #3 0.64  5,000,000 19,680 1207 0.64 98% 3% 0% 0%
n-body  #3 6.37  50,000,000 19,808 1207 6.38 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  0.09  500,000 19,680 1316 0.08 0% 88% 0% 0%
n-body  0.71  5,000,000 19,680 1316 0.71 0% 100% 1% 1%
n-body  7.00  50,000,000 19,680 1316 7.02 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #2 0.08  500,000 19,680 1222 0.08 0% 0% 90% 0%
n-body  #2 0.71  5,000,000 19,680 1222 0.71 1% 1% 100% 0%
n-body  #2 7.02  50,000,000 19,680 1222 7.03 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #3 0.18  2,000 19,696 610 0.07 22% 16% 0% 0%
pidigits  #3 0.46  6,000 19,696 610 0.47 44% 56% 0% 6%
pidigits  #3 1.58  10,000 19,824 610 1.62 32% 44% 9% 21%
source secs N mem gz cpu secs cpu load
pidigits  #8 0.10  2,000 19,696 727 0.10 0% 0% 0% 90%
pidigits  #8 0.86  6,000 19,696 727 0.86 1% 0% 2% 100%
pidigits  #8 2.49  10,000 19,696 727 2.50 0% 99% 1% 0%
source secs N mem gz cpu secs cpu load
pidigits  #7 0.13  2,000 19,696 702 0.14 33% 46% 21% 15%
pidigits  #7 1.70  6,000 19,696 702 1.93 24% 30% 30% 27%
pidigits  #7 5.12  10,000 19,824 702 5.88 30% 26% 31% 26%
source secs N mem gz cpu secs cpu load
pidigits  #4 0.10  2,000 19,680 689 0.07 0% 0% 60% 0%
pidigits  #4 0.35  6,000 19,680 689 0.36 5% 100% 0% 5%
pidigits  #4 0.95  10,000 19,808 689 0.97 98% 0% 3% 1%
source secs N mem gz cpu secs cpu load
pidigits  #2 0.11  2,000 19,696 740 0.07 0% 58% 0% 0%
pidigits  #2 0.67  6,000 19,696 740 0.68 47% 2% 1% 53%
pidigits  #2 2.13  10,000 19,824 740 2.19 2% 34% 49% 18%
source secs N mem gz cpu secs cpu load
pidigits  0.13  2,000 19,696 715 0.09 0% 0% 0% 64%
pidigits  0.54  6,000 19,696 715 0.55 1% 48% 51% 3%
pidigits  1.35  10,000 19,696 715 1.37 15% 2% 12% 72%
source secs N mem gz cpu secs cpu load
regex-redux  #4 0.27  50,000 19,696 832 0.40 29% 28% 29% 57%
regex-redux  #4 1.68  500,000 34,128 832 3.60 43% 62% 59% 51%
regex-redux  #4 14.51  5,000,000 368,680 832 34.26 59% 53% 49% 75%
source secs N mem gz cpu secs cpu load
regex-redux  #5 0.15  50,000 19,696 817 0.07 0% 25% 7% 6%
regex-redux  #5 0.43  500,000 39,784 817 0.63 72% 22% 37% 19%
regex-redux  #5 3.17  5,000,000 320,972 817 5.38 97% 22% 27% 25%
source secs N mem gz cpu secs cpu load
regex-redux  0.35  50,000 19,696 749 0.64 30% 58% 50% 40%
regex-redux  2.78  500,000 33,092 749 6.24 61% 48% 60% 55%
regex-redux  25.58  5,000,000 345,472 749 61.95 66% 66% 53% 56%
source secs N mem gz cpu secs cpu load
regex-redux  #3 0.33  50,000 19,696 836 0.65 51% 51% 51% 50%
regex-redux  #3 2.80  500,000 36,860 836 6.46 53% 56% 53% 68%
regex-redux  #3 25.72  5,000,000 402,968 836 62.19 48% 57% 57% 79%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.01  250,000 19,696 998 0.01 0% 66% 0% 50%
reverse-complement  #5 Bad Output  100,000,001
source secs N mem gz cpu secs cpu load
reverse-complement  0.01  250,000 19,824 1261 0.01 0% 0% 0% 0%
reverse-complement  Failed  100,000,001
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.10  250,000 19,696 609 0.02 0% 20% 0% 0%
reverse-complement  #3 2.47  100,000,001 802,048 609 2.56 82% 4% 6% 12%
source secs N mem gz cpu secs cpu load
reverse-complement  #6 0.10  250,000 19,696 1340 0.02 0% 0% 0% 9%
reverse-complement  #6 1.84  100,000,001 1,249,840 1340 3.30 66% 25% 45% 45%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.10  250,000 19,696 614 0.02 10% 0% 0% 10%
reverse-complement  #2 2.21  100,000,001 802,176 614 2.30 16% 85% 5% 0%
source secs N mem gz cpu secs cpu load
simple  0.13  1,000 19,696 469 0.12 86% 7% 0% 0%
simple  1.75  4,000 19,696 469 1.75 0% 1% 1% 99%
simple  27.63  16,000 19,696 469 27.69 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
simple  #2 0.13  1,000 19,696 500 0.12 0% 91% 0% 0%
simple  #2 1.68  4,000 19,696 500 1.69 1% 0% 0% 100%
simple  #2 26.63  16,000 19,696 500 26.69 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  0.05  500 19,824 417 0.05 0% 0% 0% 83%
spectral-norm  1.59  3,000 19,696 417 1.60 0% 0% 1% 100%
spectral-norm  5.32  5,500 19,824 417 5.33 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  #2 0.03  500 19,696 674 0.05 0% 33% 33% 33%
spectral-norm  #2 0.45  3,000 19,696 674 1.70 95% 97% 93% 97%
spectral-norm  #2 1.53  5,500 19,824 674 5.67 93% 92% 92% 93%
source secs N mem gz cpu secs cpu load
spectral-norm  #4 0.03  500 19,696 555 0.05 33% 33% 75% 25%
spectral-norm  #4 0.43  3,000 19,696 555 1.69 97% 97% 97% 97%
spectral-norm  #4 1.44  5,500 19,824 555 5.67 99% 98% 99% 98%
source secs N mem gz cpu secs cpu load
too simple  0.03  1,000,000 19,696 212 0.01 0% 0% 0% 0%
too simple  0.45  100,000,000 19,696 212 0.45 0% 100% 2% 0%
too simple  43.94  10,000,000,000 19,696 212 44.05 100% 0% 0% 0%