The Computer Language
Benchmarks Game

all C clang programs & measurements

Ubuntu clang version 12.0.0-1ubuntu

source secs N mem gz cpu cpu load
binary-trees  #5 0.13  7 8 908 0.00 23% 14% 0% 67%
binary-trees  #5 0.05  14 800 908 0.14 83% 67% 80% 80%
binary-trees  #5 7.69  21 351,340 908 27.54 92% 91% 88% 91%
source secs N mem gz cpu cpu load
binary-trees  0.17  7 8 654 0.00 33% 17% 6% 76%
binary-trees  0.09  14 1,016 654 0.09 0% 100% 25% 0%
binary-trees  16.43  21 263,608 654 16.43 1% 1% 100% 0%
binary-trees  #3 Make Error  7
binary-trees  #2 Make Error  7
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.37  10 704 910 0.22 74% 3% 0% 30%
fannkuch-redux  #5 2.24  11 696 910 2.24 0% 100% 0% 3%
fannkuch-redux  #5 30.09  12 764 910 30.09 0% 100% 0% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.20  10 8 1557 0.23 40% 68% 40% 47%
fannkuch-redux  #2 0.82  11 860 1557 2.94 100% 93% 79% 91%
fannkuch-redux  #2 8.85  12 936 1557 34.52 94% 100% 98% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  0.38  10 696 508 0.27 3% 5% 5% 87%
fannkuch-redux  2.93  11 764 508 2.93 0% 100% 0% 1%
fannkuch-redux  38.79  12 768 508 38.79 0% 100% 0% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.28  10 760 1183 0.12 31% 11% 14% 62%
fannkuch-redux  #4 1.03  11 692 1183 1.03 6% 0% 0% 99%
fannkuch-redux  #4 13.22  12 768 1183 13.22 0% 0% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.36  10 768 567 0.23 83% 6% 9% 3%
fannkuch-redux  #3 2.32  11 764 567 2.32 0% 100% 2% 2%
fannkuch-redux  #3 30.93  12 764 567 30.93 1% 100% 0% 0%
source secs N mem gz cpu cpu load
fasta  #3 0.24  250,000 764 819 0.08 8% 17% 74% 43%
fasta  #3 0.48  2,500,000 696 819 0.48 0% 0% 98% 2%
fasta  #3 4.51  25,000,000 768 819 4.51 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #9 0.17  250,000 8 1463 0.03 19% 41% 29% 6%
fasta  #9 0.11  2,500,000 692 1463 0.11 0% 92% 0% 0%
fasta  #9 0.78  25,000,000 1,160 1463 0.78 0% 1% 100% 0%
source secs N mem gz cpu cpu load
fasta  #8 0.17  250,000 700 1293 0.05 17% 18% 0% 76%
fasta  #8 0.28  2,500,000 760 1293 0.28 4% 100% 0% 0%
fasta  #8 2.47  25,000,000 768 1293 2.47 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #4 0.22  250,000 756 1240 0.06 77% 5% 33% 0%
fasta  #4 0.33  2,500,000 764 1240 0.33 0% 97% 0% 0%
fasta  #4 2.99  25,000,000 764 1240 2.99 0% 0% 100% 1%
fasta  #2 Make Error  250,000
source secs N mem gz cpu cpu load
fasta  0.21  250,000 8 1206 0.07 11% 0% 74% 5%
fasta  0.40  2,500,000 704 1206 0.40 0% 0% 100% 7%
fasta  3.71  25,000,000 768 1206 3.70 0% 0% 0% 100%
fasta  #7 Make Error  250,000
fasta  #6 Make Error  250,000
source secs N mem gz cpu cpu load
fasta  #5 0.14  250,000 8 1281 0.03 8% 0% 25% 77%
fasta  #5 0.16  2,500,000 768 1281 0.16 0% 0% 6% 100%
fasta  #5 1.28  25,000,000 768 1281 1.28 1% 0% 100% 1%
k-nucleotide  Make Error  250,000
mandelbrot  #8 Make Error  1,000
mandelbrot  #6 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #3 0.15  1,000 8 763 0.08 50% 27% 13% 40%
mandelbrot  #3 0.24  4,000 3,400 763 0.92 96% 100% 100% 100%
mandelbrot  #3 3.55  16,000 32,716 763 14.11 99% 100% 100% 100%
mandelbrot  #7 Make Error  1,000
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  0.21  1,000 8 822 0.06 10% 64% 21% 74%
mandelbrot  0.23  4,000 1,124 822 0.88 96% 96% 100% 100%
mandelbrot  3.49  16,000 29,608 822 13.92 100% 100% 100% 100%
mandelbrot  #9 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #2 0.26  1,000 700 400 0.14 0% 4% 84% 12%
mandelbrot  #2 1.61  4,000 760 400 1.61 0% 1% 0% 100%
mandelbrot  #2 25.49  16,000 764 400 25.49 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #9 0.19  500,000 8 1633 0.05 0% 16% 25% 75%
n-body  #9 0.23  5,000,000 696 1633 0.23 0% 4% 0% 96%
n-body  #9 2.21  50,000,000 768 1633 2.21 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.24  500,000 1,088 1208 0.10 75% 17% 4% 4%
n-body  #3 0.65  5,000,000 1,024 1208 0.64 2% 100% 0% 0%
n-body  #3 6.34  50,000,000 1,076 1208 6.33 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #8 0.11  500,000 280 1391 0.05 0% 50% 46% 27%
n-body  #8 0.39  5,000,000 8 1391 0.39 3% 0% 100% 0%
n-body  #8 3.79  50,000,000 8 1391 3.79 2% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  0.26  500,000 1,016 1173 0.10 23% 0% 12% 85%
n-body  0.60  5,000,000 1,012 1173 0.60 98% 2% 2% 2%
n-body  5.95  50,000,000 1,084 1173 5.94 100% 0% 0% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 1,016 1263 0.10 62% 4% 13% 13%
n-body  #2 0.61  5,000,000 1,076 1263 0.61 2% 0% 100% 0%
n-body  #2 6.00  50,000,000 1,088 1263 6.00 1% 100% 0% 1%
source secs N mem gz cpu cpu load
n-body  #4 0.23  500,000 1,076 1490 0.08 14% 9% 74% 0%
n-body  #4 0.47  5,000,000 1,076 1490 0.47 2% 100% 4% 0%
n-body  #4 4.62  50,000,000 1,088 1490 4.61 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #5 0.22  500,000 700 1429 0.09 10% 55% 5% 23%
n-body  #5 0.57  5,000,000 768 1429 0.57 2% 98% 3% 0%
n-body  #5 5.65  50,000,000 764 1429 5.65 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #7 0.26  500,000 1,028 1244 0.11 7% 8% 56% 31%
n-body  #7 0.70  5,000,000 1,020 1244 0.70 0% 100% 1% 0%
n-body  #7 6.88  50,000,000 1,084 1244 6.88 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #6 0.24  500,000 1,020 1180 0.10 17% 0% 80% 20%
n-body  #6 0.58  5,000,000 1,024 1180 0.58 100% 0% 0% 5%
n-body  #6 5.69  50,000,000 1,088 1180 5.69 0% 0% 0% 100%
source secs N mem gz cpu cpu load
pidigits  #6 0.19  2,000 8 1090 0.15 42% 56% 22% 39%
pidigits  #6 0.23  6,000 2,100 1090 0.89 100% 100% 96% 100%
pidigits  #6 0.61  10,000 2,340 1090 2.38 100% 98% 100% 100%
source secs N mem gz cpu cpu load
pidigits  0.19  2,000 820 452 0.06 24% 0% 17% 78%
pidigits  0.31  6,000 2,256 452 0.31 0% 0% 3% 100%
pidigits  0.88  10,000 2,512 452 0.88 100% 0% 1% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.18  2,000 8 416 0.06 74% 0% 26% 17%
pidigits  #2 0.29  6,000 2,196 416 0.28 3% 0% 0% 100%
pidigits  #2 0.81  10,000 2,792 416 0.81 6% 0% 0% 99%
regex-redux  #3 Make Error  50,000
regex-redux  #5 Make Error  50,000
source secs N mem gz cpu cpu load
regex-redux  #2 0.27  50,000 1,800 1115 0.07 31% 4% 18% 88%
regex-redux  #2 0.50  500,000 11,956 1115 0.36 2% 39% 2% 100%
regex-redux  #2 3.12  5,000,000 103,044 1115 3.12 100% 0% 1% 0%
regex-redux  #4 Make Error  50,000
source secs N mem gz cpu cpu load
reverse-complement  #5 0.18  250,000 8 647 0.02 17% 0% 5% 79%
reverse-complement  #5 1.96  100,000,000 993,940 647 1.95 0% 1% 100% 1%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.18  250,000 8 750 0.02 63% 0% 6% 17%
reverse-complement  #2 1.07  100,000,000 994,176 750 1.54 15% 88% 12% 30%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.14  250,000 8 709 0.02 7% 50% 13% 14%
reverse-complement  #4 3.68  100,000,000 500,248 709 3.67 100% 0% 0% 0%
reverse-complement  #6 Make Error  250,000
spectral-norm  #5 Make Error  500
spectral-norm  #3 Make Error  500
spectral-norm  #4 Make Error  500
spectral-norm  #6 Make Error  500
spectral-norm  Make Error  500