The Computer Language
Benchmarks Game

all Go programs & measurements

go version go1.7 linux/386

source secs N mem gz cpu cpu load
binary-trees  #5 0.17  12 ? 1000 0.16 0% 0% 0% 100%
binary-trees  #5 7.10  16 14,388 1000 7.09 1% 1% 1% 100%
binary-trees  #5 180.09  20 201,728 1000 179.98 0% 1% 1% 100%
source secs N mem gz cpu cpu load
binary-trees  #9 0.16  12 ? 548 0.15 13% 0% 6% 100%
binary-trees  #9 6.60  16 11,832 548 6.59 1% 0% 1% 100%
binary-trees  #9 167.96  20 184,252 548 167.86 0% 1% 1% 100%
source secs N mem gz cpu cpu load
binary-trees  #4 0.17  12 ? 688 0.16 6% 0% 6% 94%
binary-trees  #4 8.08  16 14,088 688 8.07 1% 1% 0% 100%
binary-trees  #4 180.44  20 208,416 688 180.33 1% 1% 0% 100%
source secs N mem gz cpu cpu load
binary-trees  0.15  12 ? 516 0.15 0% 6% 0% 100%
binary-trees  6.77  16 11,840 516 6.76 2% 1% 1% 100%
binary-trees  173.78  20 180,880 516 173.67 1% 23% 5% 100%
source secs N mem gz cpu cpu load
binary-trees  #2 0.16  12 ? 694 0.16 6% 100% 0% 100%
binary-trees  #2 7.61  16 13,784 694 7.60 4% 95% 3% 100%
binary-trees  #2 183.80  20 209,572 694 183.67 3% 25% 5% 100%
source secs N mem gz cpu cpu load
binary-trees  #7 0.16  12 ? 567 0.15 0% 0% 12% 94%
binary-trees  #7 7.04  16 11,824 567 7.03 0% 0% 2% 100%
binary-trees  #7 179.77  20 186,044 567 179.64 14% 21% 25% 100%
source secs N mem gz cpu cpu load
chameneos-redux  0.08  60,000 ? 1167 0.08 11% 0% 0% 100%
chameneos-redux  0.79  600,000 928 1167 0.78 0% 0% 3% 100%
chameneos-redux  7.75  6,000,000 928 1167 7.74 1% 1% 1% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.09  60,000 ? 1408 0.07 22% 10% 0% 80%
chameneos-redux  #2 0.71  600,000 928 1408 0.70 1% 1% 8% 100%
chameneos-redux  #2 6.99  6,000,000 928 1408 6.99 1% 0% 0% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #5 0.08  60,000 ? 957 0.08 0% 0% 33% 100%
chameneos-redux  #5 0.77  600,000 928 957 0.77 0% 3% 1% 100%
chameneos-redux  #5 7.48  6,000,000 928 957 7.48 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.54  10 924 900 0.53 2% 4% 0% 100%
fannkuch-redux  7.05  11 924 900 7.04 1% 0% 1% 100%
fannkuch-redux  94.45  12 924 900 94.42 0% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  0.11  250,000 ? 1036 0.11 8% 0% 0% 100%
fasta  1.07  2,500,000 988 1036 1.07 1% 4% 0% 99%
fasta  10.29  25,000,000 988 1036 10.28 0% 1% 0% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.11  250,000 ? 1344 0.11 0% 8% 0% 92%
fasta  #3 1.10  2,500,000 1,748 1344 1.10 2% 6% 3% 100%
fasta  #3 10.62  25,000,000 2,048 1344 10.61 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.14  250,000 ? 1388 0.13 0% 0% 14% 100%
fasta  #2 1.25  2,500,000 9,772 1388 1.24 1% 2% 0% 100%
fasta  #2 12.02  25,000,000 9,828 1388 12.01 1% 0% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #2 1.40  250,000 37,320 1531 1.40 1% 2% 1% 100%
k-nucleotide  #2 13.38  2,500,000 60,236 1531 13.36 1% 2% 1% 100%
k-nucleotide  #2 133.35  25,000,000 273,604 1531 133.24 1% 1% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  1.96  250,000 17,400 980 1.91 1% 0% 3% 100%
k-nucleotide  17.05  2,500,000 47,196 980 16.71 0% 1% 1% 100%
k-nucleotide  168.50  25,000,000 404,160 980 165.22 0% 1% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.71  250,000 16,204 1582 0.66 3% 0% 0% 100%
k-nucleotide  #6 5.25  2,500,000 28,028 1582 4.97 2% 1% 0% 100%
k-nucleotide  #6 47.48  25,000,000 147,788 1582 47.45 1% 1% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.18  1,000 ? 837 0.18 0% 0% 11% 100%
mandelbrot  #2 2.74  4,000 2,608 837 2.73 0% 2% 0% 100%
mandelbrot  #2 49.31  16,000 35,324 837 49.29 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.21  1,000 988 700 0.20 5% 0% 0% 95%
mandelbrot  #6 3.23  4,000 2,752 700 3.23 0% 1% 1% 100%
mandelbrot  #6 48.70  16,000 33,784 700 48.68 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.12  1,000 ? 894 0.11 0% 8% 0% 100%
mandelbrot  #3 1.72  4,000 2,764 894 1.72 1% 0% 1% 100%
mandelbrot  #3 27.17  16,000 34,800 894 27.16 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.39  1,000 884 823 0.38 0% 3% 3% 100%
mandelbrot  5.94  4,000 2,844 823 5.93 0% 1% 1% 100%
mandelbrot  93.46  16,000 33,840 823 93.43 0% 0% 1% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.16  2,098 ? 2986 0.16 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.41  500,000 928 1215 0.39 2% 0% 5% 95%
n-body  #2 3.89  5,000,000 928 1215 3.88 1% 1% 2% 100%
n-body  #2 38.77  50,000,000 928 1215 38.76 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  0.24  500,000 928 1310 0.24 0% 0% 8% 100%
n-body  2.34  5,000,000 928 1310 2.34 0% 2% 1% 100%
n-body  23.18  50,000,000 928 1310 23.17 1% 0% 0% 100%
source secs N mem gz cpu cpu load
pidigits  #2 0.26  2,000 792 729 0.24 4% 0% 8% 100%
pidigits  #2 1.50  6,000 7,488 729 1.49 1% 1% 1% 100%
pidigits  #2 3.86  10,000 8,032 729 3.85 2% 0% 0% 100%
source secs N mem gz cpu cpu load
pidigits  0.25  2,000 596 704 0.24 0% 11% 0% 96%
pidigits  1.50  6,000 7,492 704 1.50 3% 1% 1% 100%
pidigits  3.86  10,000 7,976 704 3.86 1% 1% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  #2 0.52  50,000 6,792 789 0.51 0% 4% 2% 100%
regex-dna  #2 5.08  500,000 43,112 789 5.07 1% 1% 1% 100%
regex-dna  #2 50.23  5,000,000 466,368 789 50.20 0% 1% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  #9 0.11  50,000 ? 1229 0.10 0% 0% 0% 100%
regex-dna  #9 0.91  500,000 33,844 1229 0.85 1% 1% 1% 100%
regex-dna  #9 8.14  5,000,000 503,992 1229 8.13 1% 1% 0% 100%
source secs N mem gz cpu cpu load
regex-dna  1.32  50,000 7,064 733 1.32 0% 2% 2% 100%
regex-dna  12.48  500,000 53,732 733 12.47 0% 1% 1% 100%
regex-dna  120.53  5,000,000 511,344 733 120.47 0% 1% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.03  250,000 ? 543 0.02 67% 0% 25% 100%
reverse-complement  #3 0.24  2,500,000 860 543 0.24 4% 0% 8% 100%
reverse-complement  #3 1.90  25,000,000 170,336 543 1.90 1% 4% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.03  250,000 ? 1278 0.02 0% 25% 0% 67%
reverse-complement  #6 0.15  2,500,000 ? 1278 0.14 7% 0% 0% 100%
reverse-complement  #6 1.01  25,000,000 133,360 1278 1.00 3% 1% 1% 99%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.03  250,000 ? 546 0.03 0% 20% 25% 100%
reverse-complement  #2 0.25  2,500,000 860 546 0.25 0% 4% 0% 96%
reverse-complement  #2 2.02  25,000,000 170,596 546 2.01 0% 2% 1% 100%
reverse-complement  #4 Bad Output  250,000
source secs N mem gz cpu cpu load
reverse-complement  0.04  250,000 ? 1243 0.03 0% 25% 0% 100%
reverse-complement  0.22  2,500,000 984 1243 0.20 0% 5% 5% 95%
reverse-complement  1.50  25,000,000 266,476 1243 1.50 1% 3% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.07  250,000 ? 926 ? 13% 0% 0% 100%
reverse-complement  #5 0.60  2,500,000 ? 926 ? 2% 3% 0% 100%
reverse-complement  #5 2.11  25,000,000 293,464 926 2.11 1% 1% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.14  500 ? 668 0.13 0% 0% 0% 93%
spectral-norm  #2 4.68  3,000 928 668 4.68 1% 1% 0% 100%
spectral-norm  #2 15.71  5,500 928 668 15.70 0% 1% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.14  500 ? 411 0.14 0% 0% 0% 100%
spectral-norm  4.71  3,000 1,612 411 4.71 1% 1% 1% 100%
spectral-norm  15.80  5,500 2,096 411 15.79 0% 0% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.14  500 ? 548 0.14 0% 0% 0% 100%
spectral-norm  #4 4.69  3,000 1,236 548 4.68 1% 0% 0% 100%
spectral-norm  #4 15.72  5,500 2,044 548 15.71 1% 1% 0% 100%
source secs N mem gz cpu cpu load
thread-ring  #5 0.17  500,000 ? 405 0.16 0% 0% 0% 94%
thread-ring  #5 1.57  5,000,000 2,320 405 1.56 0% 1% 2% 99%
thread-ring  #5 15.52  50,000,000 2,320 405 15.51 0% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #6 0.16  500,000 ? 420 0.16 0% 0% 0% 100%
thread-ring  #6 1.58  5,000,000 2,320 420 1.58 1% 2% 2% 100%
thread-ring  #6 15.49  50,000,000 2,324 420 15.48 0% 1% 0% 100%