The Computer Language
22.05 Benchmarks Game

all C++ g++ programs & measurements

11.2.0-19ubuntu1

source secs N mem gz cpu cpu load
binary-trees  #8 0.17  7 572 820 0.01 41% 0% 29% 25%
binary-trees  #8 0.01  14 0 820 0.03 100% 100% 0% 100%
binary-trees  #8 2.11  21 265,808 820 5.05 75% 37% 42% 88%
source secs N mem gz cpu cpu load
binary-trees  #5 0.10  7 0 885 0.00 0% 50% 0% 20%
binary-trees  #5  14 0 885 0.03
binary-trees  #5 1.15  21 200,020 885 4.10 87% 86% 89% 97%
source secs N mem gz cpu cpu load
binary-trees  0.11  7 336 754 0.01 36% 36% 0% 17%
binary-trees  0.02  14 0 754 0.04 50% 100% 67% 100%
binary-trees  2.65  21 1,947,704 754 8.99 84% 84% 90% 83%
source secs N mem gz cpu cpu load
binary-trees  #7 0.19  7 760 890 0.01 68% 5% 5% 24%
binary-trees  #7 0.01  14 0 890 0.03 100% 100% 50% 100%
binary-trees  #7 0.97  21 168,192 890 3.38 97% 85% 85% 85%
binary-trees  #4 Make Error  7
source secs N mem gz cpu cpu load
binary-trees  #6 0.14  7 332 844 0.01 38% 50% 38% 0%
binary-trees  #6 0.01  14 0 844 0.03 50% 100% 100% 0%
binary-trees  #6 2.13  21 265,784 844 4.72 35% 100% 41% 48%
source secs N mem gz cpu cpu load
binary-trees  #2 0.15  7 332 508 0.00 13% 40% 21% 21%
binary-trees  #2 0.12  14 5,064 508 0.12 100% 0% 0% 8%
binary-trees  #2 22.61  21 265,180 508 22.61 1% 100% 1% 1%
source secs N mem gz cpu cpu load
binary-trees  #3 0.11  7 348 945 0.00 58% 27% 0% 0%
binary-trees  #3  14 0 945 0.02
binary-trees  #3 1.83  21 265,220 945 4.65 42% 77% 87% 48%
source secs N mem gz cpu cpu load
binary-trees  #9 0.16  7 612 809 0.01 53% 35% 6% 6%
binary-trees  #9  14 0 809 0.04
binary-trees  #9 1.55  21 135,652 809 4.16 53% 100% 66% 52%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.26  10 748 1439 0.26 73% 28% 46% 36%
fannkuch-redux  #4 0.78  11 2,104 1439 3.03 97% 94% 100% 100%
fannkuch-redux  #4 10.28  12 2,216 1439 40.52 100% 100% 100% 95%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.17  10 2,064 1440 0.27 65% 35% 56% 41%
fannkuch-redux  #2 0.82  11 2,124 1440 3.20 99% 93% 99% 99%
fannkuch-redux  #2 10.85  12 2,224 1440 42.64 99% 95% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #7 0.16  10 1,020 1150 0.10 38% 63% 0% 6%
fannkuch-redux  #7 1.08  11 964 1150 1.08 2% 4% 0% 100%
fannkuch-redux  #7 13.90  12 992 1150 13.89 100% 0% 0% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  0.18  10 1,924 1059 0.27 39% 33% 56% 63%
fannkuch-redux  0.83  11 1,960 1059 3.22 100% 98% 93% 100%
fannkuch-redux  10.87  12 2,164 1059 42.76 99% 100% 95% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.17  10 1,984 980 0.20 71% 29% 50% 31%
fannkuch-redux  #5 0.57  11 1,996 980 2.23 100% 98% 95% 100%
fannkuch-redux  #5 7.53  12 2,000 980 29.40 100% 99% 93% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #6 0.21  10 1,936 1528 0.11 40% 14% 15% 38%
fannkuch-redux  #6 0.26  11 1,960 1528 1.01 96% 96% 100% 100%
fannkuch-redux  #6 3.27  12 2,000 1528 12.93 97% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.31  10 948 593 0.25 3% 3% 13% 81%
fannkuch-redux  #3 3.07  11 1,040 593 3.06 1% 76% 0% 25%
fannkuch-redux  #3 40.56  12 988 593 40.55 100% 0% 1% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.16  250,000 332 1127 0.04 60% 0% 7% 35%
fasta  #2 0.22  2,500,000 2,004 1127 0.22 100% 10% 5% 0%
fasta  #2 1.85  25,000,000 2,004 1127 1.85 1% 100% 1% 0%
source secs N mem gz cpu cpu load
fasta  #6 0.15  250,000 340 2324 0.05 25% 7% 40% 29%
fasta  #6 0.12  2,500,000 4,508 2324 0.43 92% 92% 92% 92%
fasta  #6 1.04  25,000,000 4,564 2324 3.89 94% 94% 93% 93%
source secs N mem gz cpu cpu load
fasta  #8 0.16  250,000 332 2751 0.04 47% 31% 19% 24%
fasta  #8 0.09  2,500,000 2,636 2751 0.17 44% 50% 0% 89%
fasta  #8 0.77  25,000,000 2,720 2751 1.52 1% 99% 100% 0%
source secs N mem gz cpu cpu load
fasta  0.17  250,000 684 1057 0.04 59% 0% 30% 24%
fasta  0.23  2,500,000 1,944 1057 0.23 100% 0% 0% 4%
fasta  1.97  25,000,000 2,000 1057 1.97 1% 1% 99% 2%
source secs N mem gz cpu cpu load
fasta  #5 0.15  250,000 348 2344 0.06 53% 7% 38% 7%
fasta  #5 0.12  2,500,000 4,396 2344 0.41 85% 91% 83% 92%
fasta  #5 1.05  25,000,000 4,540 2344 3.75 89% 89% 90% 88%
source secs N mem gz cpu cpu load
fasta  #3 0.18  250,000 740 1307 0.05 0% 39% 29% 16%
fasta  #3 0.29  2,500,000 1,904 1307 0.29 3% 0% 3% 100%
fasta  #3 2.62  25,000,000 1,964 1307 2.62 100% 1% 0% 6%
source secs N mem gz cpu cpu load
fasta  #4 0.10  250,000 924 1287 0.05 20% 0% 45% 44%
fasta  #4 0.37  2,500,000 944 1287 0.37 0% 0% 100% 3%
fasta  #4 3.36  25,000,000 1,016 1287 3.36 0% 1% 0% 100%
fasta  #7 Make Error  250,000
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.34  250,000 31,424 1276 0.38 53% 49% 32% 24%
k-nucleotide  #3 0.80  2,500,000 55,324 1276 1.78 50% 51% 79% 49%
k-nucleotide  #3 4.22  25,000,000 165,588 1276 14.14 97% 79% 79% 80%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.32  250,000 29,672 1631 0.24 6% 26% 53% 21%
k-nucleotide  #2 0.55  2,500,000 43,636 1631 0.88 53% 44% 40% 31%
k-nucleotide  #2 1.96  25,000,000 156,416 1631 5.92 68% 97% 69% 69%
source secs N mem gz cpu cpu load
k-nucleotide  0.30  250,000 24,636 1446 0.25 48% 14% 59% 7%
k-nucleotide  1.05  2,500,000 97,136 1446 1.59 10% 70% 77% 7%
k-nucleotide  6.83  25,000,000 756,320 1446 14.54 11% 94% 92% 18%
source secs N mem gz cpu cpu load
mandelbrot  0.13  1,000 332 1791 0.03 14% 54% 14% 18%
mandelbrot  0.06  4,000 756 1791 0.24 86% 100% 100% 100%
mandelbrot  0.89  16,000 32,336 1791 3.48 97% 97% 100% 97%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.24  1,000 1,908 692 0.11 29% 58% 21% 0%
mandelbrot  #2 1.12  4,000 4,780 692 1.11 2% 99% 1% 1%
mandelbrot  #2 17.47  16,000 34,176 692 17.47 0% 100% 0% 0%
source secs N mem gz cpu cpu load
mandelbrot  #0 0.12  1,000 332 2739 0.02 58% 8% 43% 15%
mandelbrot  #0 0.08  4,000 656 2739 0.26 89% 100% 88% 88%
mandelbrot  #0 1.03  16,000 34,712 2739 4.06 98% 99% 99% 98%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.13  1,000 332 1002 0.03 46% 0% 15% 46%
mandelbrot  #6 0.07  4,000 780 1002 0.26 100% 88% 100% 100%
mandelbrot  #6 0.98  16,000 31,792 1002 3.88 99% 99% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.25  1,000 3,300 726 0.08 8% 35% 69% 8%
mandelbrot  #9 0.23  4,000 5,096 726 0.87 96% 96% 95% 95%
mandelbrot  #9 3.50  16,000 34,428 726 13.48 95% 99% 95% 96%
source secs N mem gz cpu cpu load
mandelbrot  #5 0.21  1,000 1,960 590 0.08 71% 30% 10% 5%
mandelbrot  #5 0.87  4,000 4,252 590 0.86 2% 1% 1% 100%
mandelbrot  #5 13.38  16,000 33,640 590 13.37 0% 0% 100% 0%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.27  1,000 1,924 414 0.14 23% 0% 69% 12%
mandelbrot  #3 1.80  4,000 2,000 414 1.80 100% 1% 1% 1%
mandelbrot  #3 28.53  16,000 1,976 414 28.53 0% 0% 100% 1%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.12  1,000 332 3542 0.02 64% 8% 8% 18%
mandelbrot  #4 0.06  4,000 676 3542 0.21 83% 88% 83% 86%
mandelbrot  #4 0.84  16,000 34,720 3542 3.27 100% 98% 98% 100%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.15  1,000 332 742 0.07 47% 19% 50% 13%
mandelbrot  #8 0.31  4,000 5,056 742 0.85 42% 100% 40% 97%
mandelbrot  #8 4.81  16,000 34,448 742 13.19 100% 38% 38% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.19  1,000 336 1017 0.07 39% 16% 32% 56%
mandelbrot  #7 0.23  4,000 5,060 1017 0.90 100% 100% 100% 96%
mandelbrot  #7 3.50  16,000 34,392 1017 13.92 100% 100% 99% 99%
source secs N mem gz cpu cpu load
n-body  #6 0.18  500,000 1,228 1668 0.08 61% 6% 26% 6%
n-body  #6 0.58  5,000,000 1,200 1668 0.58 0% 100% 4% 0%
n-body  #6 5.65  50,000,000 1,300 1668 5.65 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.12  500,000 988 1428 0.07 0% 55% 0% 31%
n-body  #4 0.58  5,000,000 984 1428 0.58 3% 100% 3% 0%
n-body  #4 5.68  50,000,000 1,040 1428 5.68 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.21  500,000 1,908 1879 0.06 5% 19% 43% 43%
n-body  #2 0.43  5,000,000 1,964 1879 0.43 0% 2% 100% 2%
n-body  #2 4.06  50,000,000 1,944 1879 4.06 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #9 0.13  500,000 344 1530 0.05 42% 0% 0% 50%
n-body  #9 0.50  5,000,000 1,304 1530 0.50 2% 100% 0% 2%
n-body  #9 4.90  50,000,000 1,260 1530 4.90 100% 1% 0% 1%
source secs N mem gz cpu cpu load
n-body  0.15  500,000 1,264 1659 0.07 38% 0% 57% 0%
n-body  0.60  5,000,000 1,244 1659 0.60 2% 2% 0% 100%
n-body  5.93  50,000,000 1,260 1659 5.93 0% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #7 0.21  500,000 1,964 1808 0.08 70% 26% 0% 5%
n-body  #7 0.44  5,000,000 1,928 1808 0.44 5% 100% 0% 0%
n-body  #7 4.28  50,000,000 1,976 1808 4.28 100% 0% 0% 0%
source secs N mem gz cpu cpu load
n-body  #8 0.17  500,000 1,304 1517 0.08 38% 6% 6% 63%
n-body  #8 0.62  5,000,000 1,196 1517 0.62 0% 100% 0% 0%
n-body  #8 6.09  50,000,000 1,220 1517 6.08 100% 0% 0% 0%
source secs N mem gz cpu cpu load
n-body  #5 0.18  500,000 1,888 1749 0.08 6% 50% 32% 0%
n-body  #5 0.63  5,000,000 1,904 1749 0.62 3% 100% 2% 0%
n-body  #5 6.11  50,000,000 1,944 1749 6.11 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #0 0.10  500,000 0 1927 0.03 0% 64% 40% 0%
n-body  #0 0.23  5,000,000 968 1927 0.23 0% 100% 5% 4%
n-body  #0 2.17  50,000,000 964 1927 2.17 3% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #3 0.14  500,000 332 1396 0.07 62% 14% 0% 69%
n-body  #3 0.59  5,000,000 1,220 1396 0.59 100% 2% 0% 2%
n-body  #3 5.74  50,000,000 1,280 1396 5.74 1% 100% 0% 0%
source secs N mem gz cpu cpu load
pidigits  #4 0.22  2,000 3,696 513 0.05 5% 0% 23% 48%
pidigits  #4 0.25  6,000 3,956 513 0.25 0% 0% 0% 100%
pidigits  #4 0.71  10,000 4,220 513 0.71 100% 0% 0% 1%
source secs N mem gz cpu cpu load
pidigits  #5 0.24  2,000 3,852 798 0.05 28% 46% 22% 0%
pidigits  #5 0.26  6,000 4,072 798 0.26 4% 4% 100% 0%
pidigits  #5 0.72  10,000 4,284 798 0.72 3% 100% 1% 0%
source secs N mem gz cpu cpu load
regex-redux  #3 0.38  50,000 8,624 853 0.23 49% 35% 13% 21%
regex-redux  #3 1.37  500,000 33,136 853 1.88 1% 43% 0% 97%
regex-redux  #3 12.58  5,000,000 217,248 853 18.28 100% 45% 2% 0%
source secs N mem gz cpu cpu load
regex-redux  #6 0.18  50,000 368 2850 0.03 78% 0% 11% 44%
regex-redux  #6 0.20  500,000 33,328 2850 0.25 15% 47% 24% 56%
regex-redux  #6 1.09  5,000,000 275,924 2850 2.20 35% 33% 86% 50%
source secs N mem gz cpu cpu load
regex-redux  #2 0.19  50,000 6,104 700 0.07 45% 11% 21% 39%
regex-redux  #2 0.39  500,000 27,380 700 0.41 0% 92% 21% 0%
regex-redux  #2 2.92  5,000,000 198,316 700 3.69 1% 100% 1% 28%
source secs N mem gz cpu cpu load
regex-redux  #4 0.19  50,000 756 1315 0.07 6% 22% 16% 40%
regex-redux  #4 0.17  500,000 23,712 1315 0.36 44% 76% 53% 53%
regex-redux  #4 1.09  5,000,000 203,888 1315 3.39 64% 100% 78% 72%
source secs N mem gz cpu cpu load
regex-redux  0.19  50,000 5,060 656 0.07 35% 0% 55% 5%
regex-redux  0.45  500,000 23,732 656 0.39 100% 4% 2% 0%
regex-redux  3.57  5,000,000 207,788 656 3.57 100% 0% 0% 0%
source secs N mem gz cpu cpu load
regex-redux  #5 0.19  50,000 6,608 852 0.06 10% 20% 6% 56%
regex-redux  #5 0.42  500,000 31,300 852 0.46 31% 7% 7% 74%
regex-redux  #5 3.57  5,000,000 214,888 852 4.28 7% 7% 18% 88%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.24  250,000 3,816 720 0.12 4% 0% 63% 22%
reverse-complement  #5 34.88  100,000,000 765,148 720 34.88 100% 0% 0% 0%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.19  250,000 688 1832 0.02 6% 21% 32% 28%
reverse-complement  #6 2.98  100,000,000 1,513,136 1832 4.00 66% 14% 32% 24%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.21  250,000 1,932 840 0.02 50% 19% 0% 62%
reverse-complement  #3 2.62  100,000,000 500,008 840 2.62 100% 0% 1% 0%
source secs N mem gz cpu cpu load
reverse-complement  0.16  250,000 4,116 592 0.03 0% 35% 6% 44%
reverse-complement  6.34  100,000,000 979,988 592 6.34 1% 0% 0% 100%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.21  250,000 1,928 2093 0.01 68% 38% 5% 0%
reverse-complement  #2 0.64  100,000,000 499,708 2093 0.64 2% 0% 2% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.20  500 1,948 452 0.08 33% 0% 20% 67%
spectral-norm  1.61  3,000 3,124 452 1.61 0% 1% 100% 1%
spectral-norm  5.36  5,500 1,964 452 5.36 100% 2% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.14  500 332 1044 0.06 38% 38% 14% 23%
spectral-norm  #5 0.40  3,000 1,996 1044 1.58 100% 100% 100% 100%
spectral-norm  #5 1.32  5,500 2,048 1044 5.26 100% 100% 99% 100%
source secs N mem gz cpu cpu load
spectral-norm  #6 0.12  500 332 1044 0.03 25% 42% 36% 0%
spectral-norm  #6 0.22  3,000 1,344 1044 0.85 100% 100% 95% 96%
spectral-norm  #6 0.72  5,500 1,348 1044 2.85 100% 99% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  #8 0.11  500 0 1278 0.05 10% 20% 67% 10%
spectral-norm  #8 0.47  3,000 1,252 1278 1.83 98% 98% 98% 98%
spectral-norm  #8 1.53  5,500 1,348 1278 6.09 100% 100% 100% 99%