The Computer Language
24.09 Benchmarks Game

all C clang programs & measurements

Ubuntu clang version 18.1.3

source secs N mem gz cpu secs cpu load
binary-trees  #5 0.00  7 19,860 914 0.00 0% 0% 0% 0%
binary-trees  #5 0.05  14 19,860 914 0.16 100% 100% 80% 80%
binary-trees  #5 9.39  21 351,232 914 33.96 89% 82% 92% 98%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.14  7 19,684 816 0.01 7% 7% 0% 0%
binary-trees  #2 0.01  14 19,684 816 0.04 100% 100% 100% 100%
binary-trees  #2 1.64  21 170,112 816 5.30 81% 72% 73% 100%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.13  7 19,684 842 0.01 0% 0% 0% 0%
binary-trees  #3 0.02  14 19,684 842 0.04 50% 0% 100% 50%
binary-trees  #3 1.84  21 134,144 842 5.79 69% 69% 77% 100%
source secs N mem gz cpu secs cpu load
binary-trees  0.00  7 19,860 660 0.00 0% 0% 0% 0%
binary-trees  0.08  14 19,860 660 0.08 12% 0% 0% 100%
binary-trees  17.79  21 264,064 660 17.79 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #5 0.12  10 19,940 917 0.21 41% 41% 50% 46%
fannkuch-redux  #5 0.59  11 19,940 917 2.35 100% 100% 100% 100%
fannkuch-redux  #5 8.08  12 19,940 917 31.87 100% 100% 100% 95%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #4 0.09  10 19,684 1190 0.09 0% 0% 0% 100%
fannkuch-redux  #4 1.03  11 19,684 1190 1.03 2% 1% 100% 1%
fannkuch-redux  #4 13.18  12 19,684 1190 13.18 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 0.06  10 19,684 1563 0.21 100% 100% 100% 83%
fannkuch-redux  #2 0.69  11 19,684 1563 2.63 100% 97% 100% 91%
fannkuch-redux  #2 8.88  12 19,684 1563 34.87 99% 94% 98% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  0.25  10 19,684 514 0.25 0% 0% 0% 100%
fannkuch-redux  2.88  11 19,684 514 2.88 0% 0% 0% 100%
fannkuch-redux  37.45  12 19,684 514 37.45 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #6 0.02  10 19,940 1582 0.06 100% 100% 100% 66%
fannkuch-redux  #6 0.19  11 19,940 1582 0.70 100% 94% 94% 94%
fannkuch-redux  #6 2.25  12 19,940 1582 8.89 98% 100% 99% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 0.22  10 19,684 574 0.22 100% 0% 0% 0%
fannkuch-redux  #3 2.58  11 19,684 574 2.58 0% 0% 0% 100%
fannkuch-redux  #3 34.04  12 19,684 574 34.04 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
fasta  #7 0.03  250,000 19,440 1299 0.03 0% 0% 0% 100%
fasta  #7 0.27  2,500,000 19,440 1299 0.27 0% 0% 100% 0%
fasta  #7 2.43  25,000,000 19,440 1299 2.43 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fasta  #6 0.08  250,000 19,684 1936 0.05 14% 14% 0% 25%
fasta  #6 0.12  2,500,000 19,684 1936 0.34 9% 91% 91% 91%
fasta  #6 1.01  25,000,000 19,684 1936 2.96 3% 97% 97% 100%
source secs N mem gz cpu secs cpu load
fasta  #5 0.02  250,000 19,684 1286 0.02 0% 0% 0% 100%
fasta  #5 0.14  2,500,000 19,684 1286 0.14 6% 93% 7% 0%
fasta  #5 1.19  25,000,000 19,684 1286 1.19 99% 0% 1% 0%
fasta  #4 Make Error  250,000
source secs N mem gz cpu secs cpu load
fasta  #2 0.07  250,000 19,684 2276 0.05 14% 16% 16% 14%
fasta  #2 0.10  2,500,000 19,684 2276 0.36 100% 70% 100% 90%
fasta  #2 0.82  25,000,000 19,684 2276 3.26 98% 98% 98% 100%
source secs N mem gz cpu secs cpu load
fasta  #9 0.02  250,000 19,440 1469 0.02 0% 100% 0% 0%
fasta  #9 0.10  2,500,000 19,440 1469 0.10 9% 90% 0% 0%
fasta  #9 0.78  25,000,000 19,440 1469 0.78 0% 1% 98% 0%
source secs N mem gz cpu secs cpu load
fasta  #8 0.06  250,000 19,440 825 0.06 100% 0% 14% 0%
fasta  #8 0.48  2,500,000 19,440 825 0.48 0% 2% 100% 0%
fasta  #8 4.59  25,000,000 19,440 825 4.58 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fasta  0.10  250,000 19,860 1213 0.06 0% 70% 0% 0%
fasta  0.39  2,500,000 19,860 1213 0.38 0% 0% 100% 0%
fasta  3.61  25,000,000 19,860 1213 3.61 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  0.22  250,000 19,684 1512 0.32 36% 38% 43% 36%
k-nucleotide  0.87  2,500,000 19,684 1512 2.05 40% 58% 57% 83%
k-nucleotide  6.37  25,000,000 129,248 1512 13.99 26% 47% 48% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 0.11  1,000 19,684 412 0.11 0% 0% 100% 8%
mandelbrot  #2 1.61  4,000 19,684 412 1.61 1% 100% 0% 0%
mandelbrot  #2 25.50  16,000 19,684 412 25.49 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  0.02  1,000 19,684 828 0.06 100% 50% 100% 100%
mandelbrot  0.22  4,000 19,684 828 0.88 95% 100% 100% 100%
mandelbrot  3.49  16,000 33,024 828 13.92 100% 100% 100% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #7 0.08  1,000 19,684 1000 0.08 25% 25% 25% 37%
mandelbrot  #7 0.23  4,000 19,684 1000 0.92 95% 100% 96% 100%
mandelbrot  #7 3.53  16,000 34,048 1000 14.02 99% 99% 100% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 0.02  1,000 19,684 769 0.06 100% 100% 50% 100%
mandelbrot  #3 0.24  4,000 19,684 769 0.93 96% 100% 100% 95%
mandelbrot  #3 3.58  16,000 32,896 769 14.26 100% 100% 99% 100%
mandelbrot  #6 Make Error  1,000
source secs N mem gz cpu secs cpu load
mandelbrot  #5 0.12  1,000 27,772 788 0.04 7% 7% 8% 8%
mandelbrot  #5 0.10  4,000 27,772 788 0.39 100% 90% 100% 100%
mandelbrot  #5 1.53  16,000 34,688 788 6.09 100% 100% 100% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 0.09  1,000 19,684 805 0.08 25% 22% 22% 22%
mandelbrot  #4 0.23  4,000 19,684 805 0.91 100% 100% 100% 100%
mandelbrot  #4 3.47  16,000 34,176 805 13.83 100% 100% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #9 0.09  1,000 19,684 700 0.03 10% 11% 10% 12%
mandelbrot  #9 0.08  4,000 19,684 700 0.32 88% 100% 100% 100%
mandelbrot  #9 1.23  16,000 34,304 700 4.89 100% 99% 100% 100%
source secs N mem gz cpu secs cpu load
n-body  0.06  500,000 19,716 1179 0.06 0% 0% 12% 100%
n-body  0.56  5,000,000 19,716 1179 0.56 100% 0% 0% 0%
n-body  5.51  50,000,000 19,716 1179 5.51 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
n-body  #9 0.03  500,000 19,684 1639 0.03 66% 0% 0% 0%
n-body  #9 0.23  5,000,000 19,684 1639 0.23 0% 4% 4% 100%
n-body  #9 2.20  50,000,000 19,684 1639 2.20 0% 0% 1% 100%
source secs N mem gz cpu secs cpu load
n-body  #5 0.06  500,000 19,684 1436 0.06 100% 0% 0% 0%
n-body  #5 0.49  5,000,000 19,684 1436 0.49 100% 0% 0% 2%
n-body  #5 4.86  50,000,000 19,684 1436 4.86 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #4 0.06  500,000 19,684 1496 0.06 0% 0% 0% 100%
n-body  #4 0.47  5,000,000 19,684 1496 0.47 2% 100% 0% 0%
n-body  #4 4.63  50,000,000 19,684 1496 4.63 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 0.07  500,000 19,684 1214 0.07 0% 0% 0% 87%
n-body  #3 0.63  5,000,000 19,684 1214 0.62 0% 0% 1% 100%
n-body  #3 6.12  50,000,000 19,684 1214 6.11 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #6 0.06  500,000 19,684 1186 0.06 0% 100% 0% 0%
n-body  #6 0.54  5,000,000 19,684 1186 0.54 100% 1% 0% 1%
n-body  #6 5.32  50,000,000 19,684 1186 5.32 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #7 0.08  500,000 19,684 1250 0.08 0% 88% 0% 0%
n-body  #7 0.68  5,000,000 19,684 1250 0.68 0% 1% 0% 100%
n-body  #7 6.77  50,000,000 19,684 1250 6.77 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #2 0.06  500,000 19,684 1270 0.06 0% 0% 100% 0%
n-body  #2 0.55  5,000,000 19,684 1270 0.55 100% 1% 0% 0%
n-body  #2 5.50  50,000,000 19,684 1270 5.50 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  0.10  2,000 19,876 459 0.05 0% 0% 50% 0%
pidigits  0.30  6,000 19,876 459 0.30 100% 3% 0% 0%
pidigits  0.88  10,000 19,876 459 0.88 100% 0% 1% 1%
source secs N mem gz cpu secs cpu load
pidigits  #2 0.08  2,000 19,780 422 0.05 0% 0% 55% 0%
pidigits  #2 0.28  6,000 19,780 422 0.28 100% 0% 0% 0%
pidigits  #2 0.82  10,000 19,780 422 0.82 1% 1% 100% 0%
source secs N mem gz cpu secs cpu load
regex-redux  #2 0.16  50,000 19,908 1121 0.06 0% 0% 0% 35%
regex-redux  #2 0.41  500,000 19,908 1121 0.36 87% 0% 0% 2%
regex-redux  #2 3.22  5,000,000 103,424 1121 3.22 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
regex-redux  #4 0.15  50,000 20,132 1237 0.06 12% 18% 12% 13%
regex-redux  #4 0.16  500,000 20,132 1237 0.40 62% 60% 62% 64%
regex-redux  #4 0.97  5,000,000 154,248 1237 3.77 96% 100% 99% 96%
source secs N mem gz cpu secs cpu load
regex-redux  #3 0.12  50,000 20,100 1273 0.09 16% 16% 16% 23%
regex-redux  #3 0.25  500,000 20,100 1273 0.72 68% 68% 68% 80%
regex-redux  #3 1.74  5,000,000 105,728 1273 4.32 49% 49% 49% 100%
source secs N mem gz cpu secs cpu load
regex-redux  #5 0.13  50,000 20,004 1403 0.05 7% 8% 7% 15%
regex-redux  #5 0.15  500,000 20,004 1403 0.35 56% 56% 57% 60%
regex-redux  #5 0.82  5,000,000 154,520 1403 2.82 85% 98% 85% 76%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.04  250,000 20,164 757 0.01 0% 0% 25% 0%
reverse-complement  #2 1.15  100,000,001 994,560 757 1.67 87% 17% 13% 28%
source secs N mem gz cpu secs cpu load
reverse-complement  #6 0.10  250,000 20,388 828 0.12 44% 40% 33% 10%
reverse-complement  #6 1.02  100,000,001 706,096 828 4.04 100% 97% 100% 100%
source secs N mem gz cpu secs cpu load
reverse-complement  #7 0.12  250,000 20,516 1899 0.01 0% 0% 0% 0%
reverse-complement  #7 0.44  100,000,001 499,748 1899 0.61 13% 13% 100% 15%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.05  250,000 20,420 654 0.02 0% 33% 0% 0%
reverse-complement  #5 2.07  100,000,001 994,176 654 2.07 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #9 0.13  250,000 27,772 1551 0.01 8% 0% 8% 0%
reverse-complement  #9 0.47  100,000,001 499,748 1551 0.70 15% 19% 17% 100%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 0.05  250,000 20,452 716 0.02 20% 0% 0% 0%
reverse-complement  #4 3.79  100,000,001 500,480 716 3.79 100% 0% 1% 0%
source secs N mem gz cpu secs cpu load
simple  0.11  1,000 20,644 433 0.11 0% 0% 0% 100%
simple  1.66  4,000 20,644 433 1.66 0% 0% 58% 41%
simple  26.04  16,000 20,644 433 26.04 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
simple  #2 0.11  1,000 20,612 412 0.11 100% 0% 8% 0%
simple  #2 1.61  4,000 20,612 412 1.61 1% 100% 0% 1%
simple  #2 25.49  16,000 20,612 412 25.49 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  #5 0.07  500 19,700 576 0.04 28% 14% 12% 25%
spectral-norm  #5 0.23  3,000 19,700 576 0.89 100% 100% 100% 100%
spectral-norm  #5 0.72  5,500 19,700 576 2.87 100% 100% 100% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  0.11  500 19,700 390 0.07 0% 0% 0% 70%
spectral-norm  1.62  3,000 19,700 390 1.62 0% 1% 0% 99%
spectral-norm  5.40  5,500 19,700 390 5.40 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #8 0.13  500 19,700 941 0.09 15% 16% 15% 16%
spectral-norm  #8 0.56  3,000 19,700 941 2.21 100% 100% 100% 100%
spectral-norm  #8 0.73  5,500 19,700 941 2.88 98% 98% 100% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  #4 0.08  500 20,820 1145 0.04 12% 22% 12% 12%
spectral-norm  #4 0.23  3,000 20,820 1145 0.87 95% 100% 100% 100%
spectral-norm  #4 0.73  5,500 20,820 1145 2.89 100% 100% 100% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  #6 0.07  500 20,852 1203 0.02 14% 25% 0% 0%
spectral-norm  #6 0.13  3,000 20,980 1203 0.47 100% 100% 92% 100%
spectral-norm  #6 0.40  5,500 20,980 1203 1.57 97% 100% 100% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  #7 0.10  500 20,756 906 0.11 22% 30% 22% 27%
spectral-norm  #7 0.56  3,000 20,756 906 2.20 98% 100% 100% 100%
spectral-norm  #7 1.84  5,500 20,756 906 7.28 100% 100% 98% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  #3 0.08  500 21,044 470 0.06 22% 33% 25% 22%
spectral-norm  #3 0.44  3,000 20,916 470 1.72 97% 100% 100% 100%
spectral-norm  #3 1.44  5,500 20,916 470 5.75 100% 100% 99% 100%
source secs N mem gz cpu secs cpu load
too simple  0.01  1,000,000 19,436 245 0.01 0% 0% 0% 0%
too simple  0.45  100,000,000 19,436 245 0.45 0% 2% 100% 0%
too simple  43.97  10,000,000,000 19,436 245 43.97 0% 0% 100% 0%