The Computer Language
Benchmarks Game

all C clang programs & measurements

clang version 10.0.0-4ubuntu1

source secs N mem gz cpu cpu load
binary-trees  #2 0.70  7 368 809 0.01 97% 25% 3% 1%
binary-trees  #2 0.02  14 0 809 0.06 100% 100% 50% 100%
binary-trees  #2 1.93  21 169,400 809 6.13 72% 79% 70% 100%
source secs N mem gz cpu cpu load
binary-trees  0.11  7 0 654 0.00 10% 8% 73% 0%
binary-trees  0.08  14 0 654 0.08 0% 0% 0% 100%
binary-trees  15.62  21 263,660 654 15.62 0% 0% 100% 0%
source secs N mem gz cpu cpu load
binary-trees  #3 0.25  7 0 836 0.01 0% 20% 33% 4%
binary-trees  #3 0.02  14 0 836 0.05 50% 100% 75% 100%
binary-trees  #3 1.94  21 103,920 836 6.15 70% 71% 78% 100%
source secs N mem gz cpu cpu load
binary-trees  #5 0.08  7 0 908 0.00 13% 0% 0% 57%
binary-trees  #5 0.04  14 0 908 0.13 75% 100% 75% 80%
binary-trees  #5 7.23  21 351,372 908 26.01 91% 89% 86% 95%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.27  10 0 910 0.18 0% 70% 26% 0%
fannkuch-redux  #5 2.18  11 524 910 2.18 1% 100% 0% 3%
fannkuch-redux  #5 29.07  12 588 910 29.07 0% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.35  10 596 567 0.20 6% 0% 76% 39%
fannkuch-redux  #3 2.39  11 532 567 2.39 100% 1% 2% 3%
fannkuch-redux  #3 32.20  12 596 567 32.20 1% 3% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.32  10 580 508 0.22 18% 0% 72% 19%
fannkuch-redux  2.62  11 584 508 2.62 0% 0% 0% 100%
fannkuch-redux  34.49  12 588 508 34.49 0% 100% 0% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.17  10 0 1183 0.09 29% 17% 56% 17%
fannkuch-redux  #4 1.05  11 584 1183 1.05 0% 0% 3% 100%
fannkuch-redux  #4 13.56  12 588 1183 13.56 1% 100% 0% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.14  10 0 1557 0.24 46% 43% 71% 47%
fannkuch-redux  #2 0.84  11 632 1557 2.95 99% 76% 86% 93%
fannkuch-redux  #2 9.45  12 760 1557 36.51 90% 98% 100% 99%
source secs N mem gz cpu cpu load
fasta  #2 0.23  250,000 0 2268 0.07 14% 48% 35% 4%
fasta  #2 0.10  2,500,000 0 2268 0.38 100% 90% 100% 92%
fasta  #2 0.90  25,000,000 3,904 2268 3.55 100% 99% 100% 100%
source secs N mem gz cpu cpu load
fasta  #7 0.21  250,000 0 2011 0.06 25% 65% 10% 9%
fasta  #7 0.10  2,500,000 0 2011 0.37 100% 80% 89% 90%
fasta  #7 0.88  25,000,000 3,904 2011 3.43 98% 100% 97% 97%
source secs N mem gz cpu cpu load
fasta  #5 0.11  250,000 0 1281 0.02 20% 36% 0% 50%
fasta  #5 0.15  2,500,000 0 1281 0.15 100% 0% 0% 0%
fasta  #5 1.28  25,000,000 596 1281 1.28 0% 2% 1% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.12  250,000 0 1240 0.04 27% 91% 0% 25%
fasta  #4 0.32  2,500,000 584 1240 0.32 3% 0% 0% 100%
fasta  #4 2.98  25,000,000 532 1240 2.98 0% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #6 0.26  250,000 0 1930 0.06 46% 24% 27% 11%
fasta  #6 0.12  2,500,000 0 1930 0.34 86% 100% 0% 92%
fasta  #6 0.99  25,000,000 3,636 1930 2.92 98% 99% 1% 98%
source secs N mem gz cpu cpu load
fasta  0.16  250,000 0 1206 0.05 0% 0% 27% 50%
fasta  0.40  2,500,000 528 1206 0.40 0% 3% 100% 0%
fasta  3.71  25,000,000 596 1206 3.71 0% 100% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  0.35  250,000 8 1506 0.32 35% 22% 66% 36%
k-nucleotide  0.96  2,500,000 18,868 1506 1.92 40% 47% 47% 82%
k-nucleotide  6.19  25,000,000 128,848 1506 12.79 30% 42% 42% 92%
mandelbrot  #6 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #8 0.20  1,000 0 782 0.07 25% 28% 10% 50%
mandelbrot  #8 0.19  4,000 0 782 0.75 100% 95% 100% 100%
mandelbrot  #8 2.91  16,000 26,920 782 11.62 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.19  1,000 0 400 0.11 15% 11% 60% 28%
mandelbrot  #2 1.61  4,000 592 400 1.61 100% 1% 1% 0%
mandelbrot  #2 25.40  16,000 596 400 25.40 0% 0% 0% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.11  1,000 0 763 0.08 18% 64% 27% 36%
mandelbrot  #3 0.24  4,000 1,780 763 0.94 100% 100% 100% 96%
mandelbrot  #3 3.56  16,000 32,744 763 14.18 99% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #9 0.23  1,000 0 694 0.06 5% 22% 35% 46%
mandelbrot  #9 0.14  4,000 0 694 0.54 100% 93% 100% 93%
mandelbrot  #9 2.09  16,000 26,300 694 8.31 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.14  1,000 0 822 0.08 14% 50% 29% 38%
mandelbrot  0.23  4,000 956 822 0.89 96% 96% 100% 100%
mandelbrot  3.49  16,000 24,812 822 13.92 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.22  1,000 0 994 0.09 62% 43% 9% 13%
mandelbrot  #7 0.23  4,000 1,832 994 0.91 100% 100% 96% 100%
mandelbrot  #7 3.50  16,000 34,040 994 13.90 99% 99% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.38  1,000 0 799 0.09 37% 22% 26% 30%
mandelbrot  #4 0.24  4,000 724 799 0.95 96% 96% 100% 100%
mandelbrot  #4 3.47  16,000 31,360 799 13.87 100% 100% 100% 100%
source secs N mem gz cpu cpu load
n-body  #7 0.19  500,000 0 1244 0.08 0% 5% 44% 53%
n-body  #7 0.71  5,000,000 856 1244 0.71 100% 1% 0% 1%
n-body  #7 6.95  50,000,000 920 1244 6.95 100% 1% 0% 1%
source secs N mem gz cpu cpu load
n-body  #4 0.20  500,000 0 1490 0.07 45% 50% 10% 10%
n-body  #4 0.57  5,000,000 860 1490 0.57 0% 0% 4% 100%
n-body  #4 5.58  50,000,000 924 1490 5.58 1% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  0.20  500,000 0 1173 0.07 37% 43% 19% 25%
n-body  0.60  5,000,000 860 1173 0.60 0% 3% 100% 5%
n-body  5.93  50,000,000 920 1173 5.93 1% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.18  500,000 0 1263 0.07 22% 0% 22% 44%
n-body  #2 0.61  5,000,000 864 1263 0.61 0% 100% 0% 2%
n-body  #2 6.00  50,000,000 920 1263 6.00 100% 1% 1% 1%
source secs N mem gz cpu cpu load
n-body  #5 0.15  500,000 0 1429 0.06 47% 14% 36% 40%
n-body  #5 0.49  5,000,000 592 1429 0.49 0% 4% 2% 100%
n-body  #5 4.80  50,000,000 596 1429 4.80 0% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.18  500,000 0 1208 0.07 44% 6% 0% 24%
n-body  #3 0.64  5,000,000 860 1208 0.64 100% 2% 0% 0%
n-body  #3 6.32  50,000,000 924 1208 6.31 2% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #8 0.11  500,000 0 1391 0.04 40% 0% 36% 20%
n-body  #8 0.35  5,000,000 8 1391 0.35 3% 97% 0% 0%
n-body  #8 3.31  50,000,000 8 1391 3.31 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #6 0.17  500,000 0 1180 0.07 0% 44% 0% 39%
n-body  #6 0.58  5,000,000 844 1180 0.58 0% 3% 100% 0%
n-body  #6 5.70  50,000,000 920 1180 5.70 100% 1% 2% 0%
source secs N mem gz cpu cpu load
pidigits  0.13  2,000 0 452 0.04 0% 42% 38% 0%
pidigits  0.31  6,000 648 452 0.30 100% 0% 3% 10%
pidigits  0.88  10,000 2,508 452 0.88 2% 0% 100% 1%
source secs N mem gz cpu cpu load
pidigits  #2 0.17  2,000 0 416 0.04 0% 11% 35% 88%
pidigits  #2 0.28  6,000 648 416 0.28 4% 4% 100% 0%
pidigits  #2 0.81  10,000 2,544 416 0.81 0% 100% 0% 4%
source secs N mem gz cpu cpu load
regex-redux  #5 0.26  50,000 0 1397 0.06 8% 23% 40% 8%
regex-redux  #5 0.14  500,000 0 1397 0.34 80% 57% 57% 64%
regex-redux  #5 0.81  5,000,000 154,176 1397 2.78 77% 83% 85% 99%
source secs N mem gz cpu cpu load
regex-redux  #3 0.23  50,000 0 1266 0.09 27% 29% 9% 26%
regex-redux  #3 0.24  500,000 904 1266 0.68 74% 71% 72% 100%
regex-redux  #3 1.70  5,000,000 105,312 1266 4.28 51% 51% 51% 100%
source secs N mem gz cpu cpu load
regex-redux  #2 0.16  50,000 0 1115 0.04 0% 0% 44% 56%
regex-redux  #2 0.37  500,000 656 1115 0.33 3% 95% 0% 0%
regex-redux  #2 3.11  5,000,000 103,008 1115 3.10 2% 1% 100% 1%
source secs N mem gz cpu cpu load
regex-redux  #4 0.30  50,000 0 1230 0.08 31% 20% 23% 7%
regex-redux  #4 0.16  500,000 0 1230 0.40 69% 67% 63% 93%
regex-redux  #4 0.96  5,000,000 153,952 1230 3.76 98% 100% 98% 98%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.11  250,000 0 709 0.02 0% 0% 17% 75%
reverse-complement  #4 3.66  100,000,000 500,224 709 3.66 1% 0% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.18  250,000 0 647 0.02 18% 0% 0% 74%
reverse-complement  #5 1.93  100,000,000 994,024 647 1.93 0% 100% 1% 0%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.22  250,000 0 820 0.12 18% 45% 36% 33%
reverse-complement  #6 0.98  100,000,000 585,620 820 3.90 100% 100% 100% 99%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.11  250,000 0 750 0.01 0% 42% 0% 42%
reverse-complement  #2 1.06  100,000,000 994,228 750 1.53 88% 30% 15% 12%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.22  500 0 463 0.07 35% 33% 26% 23%
spectral-norm  #3 0.45  3,000 3,128 463 1.75 100% 100% 100% 98%
spectral-norm  #3 1.44  5,500 3,136 463 5.73 100% 100% 99% 100%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.25  500 0 1139 0.05 42% 8% 28% 13%
spectral-norm  #4 0.23  3,000 1,080 1139 0.88 100% 100% 100% 100%
spectral-norm  #4 0.72  5,500 3,096 1139 2.87 100% 99% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.28  500 0 383 0.05 18% 34% 4% 56%
spectral-norm  1.60  3,000 1,088 383 1.59 1% 1% 0% 100%
spectral-norm  5.32  5,500 1,124 383 5.31 3% 4% 100% 3%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.22  500 0 569 0.05 61% 14% 26% 5%
spectral-norm  #5 0.23  3,000 1,120 569 0.88 100% 100% 100% 100%
spectral-norm  #5 0.72  5,500 3,140 569 2.86 100% 100% 100% 100%