The Computer Language
24.11 Benchmarks Game

all Swift programs & measurements

Swift version 6.0
(swift-6.0-RELEASE)
Target: x86_64-unknown-linux-gnu

source secs N mem gz cpu secs cpu load
binary-trees  #2 1.06  7 19,440 822 0.04 1% 0% 0% 2%
binary-trees  #2 0.10  14 22,528 822 0.29 54% 80% 60% 100%
binary-trees  #2 18.29  21 707,456 822 58.16 99% 63% 79% 76%
binary-trees  #9 Make Error  7
source secs N mem gz cpu secs cpu load
binary-trees  0.98  7 19,440 720 0.04 0% 0% 0% 4%
binary-trees  0.11  14 23,168 720 0.28 80% 100% 45% 40%
binary-trees  18.28  21 737,152 720 54.20 94% 61% 68% 72%
source secs N mem gz cpu secs cpu load
binary-trees  #8 0.47  7 19,692 567 0.02 2% 0% 2% 0%
binary-trees  #8 0.29  14 19,692 567 0.29 100% 0% 0% 0%
binary-trees  #8 54.90  21 402,048 567 54.89 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #5 1.05  7 19,440 813 0.04 0% 2% 0% 0%
binary-trees  #5 0.11  14 24,192 813 0.27 81% 60% 81% 40%
binary-trees  #5 18.89  21 738,048 813 56.25 74% 60% 94% 70%
source secs N mem gz cpu secs cpu load
binary-trees  #3 3.02  7 19,440 868 0.04 4% 1% 3% 2%
binary-trees  #3 0.10  14 22,528 868 0.29 100% 80% 54% 77%
binary-trees  #3 18.18  21 707,584 868 58.24 99% 64% 79% 77%
source secs N mem gz cpu secs cpu load
binary-trees  #4 1.07  7 19,440 772 0.04 0% 2% 0% 0%
binary-trees  #4 0.10  14 22,656 772 0.29 63% 50% 100% 90%
binary-trees  #4 17.49  21 707,456 772 55.84 65% 99% 75% 79%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 0.54  10 19,440 1103 0.22 10% 10% 11% 11%
fannkuch-redux  #3 0.65  11 19,440 1103 2.49 98% 100% 97% 95%
fannkuch-redux  #3 8.32  12 19,440 1103 32.99 99% 100% 98% 98%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #8 0.73  10 19,444 470 0.27 0% 0% 37% 0%
fannkuch-redux  #8 2.67  11 19,444 470 2.67 0% 0% 1% 100%
fannkuch-redux  #8 35.13  12 19,444 470 35.12 47% 0% 0% 53%
source secs N mem gz cpu secs cpu load
fasta  0.51  250,000 19,440 1533 0.09 3% 21% 7% 1%
fasta  0.54  2,500,000 19,440 1533 0.54 0% 1% 100% 0%
fasta  5.15  25,000,000 19,440 1533 5.14 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
fasta  #3 1.09  250,000 24,300 2097 0.12 6% 1% 2% 0%
fasta  #3 0.27  2,500,000 31,120 2097 0.58 30% 55% 70% 63%
fasta  #3 2.18  25,000,000 31,248 2097 5.40 74% 62% 74% 38%
source secs N mem gz cpu secs cpu load
fasta  #2 0.46  250,000 19,440 1952 0.07 4% 2% 6% 4%
fasta  #2 0.35  2,500,000 19,440 1952 0.59 48% 36% 64% 21%
fasta  #2 2.11  25,000,000 19,440 1952 3.76 22% 80% 74% 4%
source secs N mem gz cpu secs cpu load
fasta  #8 1.72  250,000 19,440 833 1.12 0% 0% 0% 65%
fasta  #8 10.76  2,500,000 19,440 833 10.76 0% 0% 100% 0%
fasta  #8 106.65  25,000,000 19,440 833 106.65 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
k-nucleotide  #8 2.97  250,000 36,392 658 1.90 1% 63% 0% 0%
k-nucleotide  #8 19.33  2,500,000 78,120 658 19.27 7% 0% 0% 93%
k-nucleotide  #8 181.50  25,000,000 627,328 658 180.87 54% 45% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #7 3.49  250,000 36,504 607 2.39 37% 31% 0% 0%
k-nucleotide  #7 24.81  2,500,000 77,864 607 24.76 41% 58% 0% 0%
k-nucleotide  #7 233.16  25,000,000 627,092 607 232.52 54% 44% 0% 1%
k-nucleotide  Make Error  250,000
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 1.35  250,000 68,648 1373 0.95 21% 20% 18% 18%
k-nucleotide  #2 1.83  2,500,000 80,004 1373 5.87 78% 79% 85% 79%
k-nucleotide  #2 14.54  25,000,000 260,820 1373 55.20 94% 93% 97% 95%
source secs N mem gz cpu secs cpu load
mandelbrot  #8 0.61  1,000 19,492 426 0.15 0% 0% 24% 0%
mandelbrot  #8 1.63  4,000 19,492 426 1.63 0% 0% 1% 100%
mandelbrot  #8 25.59  16,000 19,492 426 25.59 0% 20% 40% 40%
source secs N mem gz cpu secs cpu load
mandelbrot  #7 1.00  1,000 19,440 1147 0.06 1% 2% 3% 1%
mandelbrot  #7 0.10  4,000 19,440 1147 0.36 90% 90% 100% 90%
mandelbrot  #7 1.38  16,000 49,024 1147 5.49 100% 99% 99% 99%
mandelbrot  #3 Bad Output  1,000
source secs N mem gz cpu secs cpu load
mandelbrot  0.56  1,000 19,440 400 0.16 0% 0% 27% 0%
mandelbrot  1.68  4,000 19,440 400 1.68 1% 100% 1% 0%
mandelbrot  26.45  16,000 19,440 400 26.45 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #5 0.53  1,000 19,440 665 0.13 5% 5% 7% 5%
mandelbrot  #5 0.46  4,000 19,440 665 1.71 89% 91% 100% 91%
mandelbrot  #5 7.25  16,000 43,648 665 27.03 99% 91% 91% 91%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 0.93  1,000 19,440 1147 0.06 2% 1% 4% 1%
mandelbrot  #6 0.11  4,000 20,096 1147 0.38 100% 90% 90% 90%
mandelbrot  #6 1.46  16,000 51,840 1147 5.78 100% 99% 100% 99%
source secs N mem gz cpu secs cpu load
n-body  #9 4.05  500,000 19,440 1532 2.95 0% 72% 0% 0%
n-body  #9 28.78  5,000,000 19,440 1532 28.77 0% 70% 0% 30%
n-body  #9 288.23  50,000,000 19,440 1532 288.20 71% 10% 4% 13%
source secs N mem gz cpu secs cpu load
n-body  #6 0.56  500,000 19,440 1213 0.11 0% 0% 21% 0%
n-body  #6 0.59  5,000,000 19,440 1213 0.59 100% 0% 0% 0%
n-body  #6 5.78  50,000,000 19,440 1213 5.78 99% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #4 1.06  500,000 19,440 1361 0.13 0% 0% 0% 11%
n-body  #4 0.57  5,000,000 19,440 1361 0.57 100% 0% 0% 1%
n-body  #4 5.46  50,000,000 19,440 1361 5.46 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
n-body  #7 1.03  500,000 19,440 1333 0.13 11% 0% 0% 1%
n-body  #7 0.57  5,000,000 19,440 1333 0.57 0% 98% 0% 0%
n-body  #7 5.50  50,000,000 19,440 1333 5.50 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
n-body  0.54  500,000 19,440 1210 0.13 0% 0% 24% 0%
n-body  0.80  5,000,000 19,440 1210 0.80 0% 0% 0% 100%
n-body  7.85  50,000,000 19,440 1210 7.85 14% 0% 85% 0%
source secs N mem gz cpu secs cpu load
n-body  #5 1.11  500,000 19,440 1372 0.13 11% 0% 0% 0%
n-body  #5 0.56  5,000,000 19,440 1372 0.56 0% 0% 0% 100%
n-body  #5 5.49  50,000,000 19,440 1372 5.49 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
n-body  #8 0.54  500,000 19,440 1285 0.12 22% 0% 0% 0%
n-body  #8 0.67  5,000,000 19,440 1285 0.67 100% 3% 0% 0%
n-body  #8 6.65  50,000,000 19,440 1285 6.65 3% 1% 0% 97%
source secs N mem gz cpu secs cpu load
n-body  #3 1.09  500,000 19,440 1688 0.13 0% 0% 11% 0%
n-body  #3 0.55  5,000,000 19,440 1688 0.55 0% 0% 0% 100%
n-body  #3 5.43  50,000,000 19,440 1688 5.43 1% 0% 0% 99%
source secs N mem gz cpu secs cpu load
pidigits  #2 0.55  2,000 19,440 606 0.07 0% 0% 12% 0%
pidigits  #2 0.26  6,000 19,440 606 0.26 3% 0% 100% 0%
pidigits  #2 0.75  10,000 19,440 606 0.75 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
regex-redux  #2 1.54  50,000 25,980 678 0.46 0% 0% 30% 0%
regex-redux  #2 3.90  500,000 89,428 678 3.85 1% 1% 0% 99%
regex-redux  #2 38.80  5,000,000 686,136 678 38.80 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
regex-redux  1.33  50,000 28,412 721 0.46 21% 12% 0% 0%
regex-redux  2.40  500,000 118,620 721 3.95 1% 66% 97% 0%
regex-redux  23.40  5,000,000 891,792 721 39.65 69% 0% 0% 99%
source secs N mem gz cpu secs cpu load
regex-redux  #4 1.34  50,000 32,076 751 0.47 11% 11% 5% 5%
regex-redux  #4 1.88  500,000 139,456 751 4.11 39% 42% 53% 86%
regex-redux  #4 18.30  5,000,000 1,064,768 751 41.36 41% 91% 53% 41%
source secs N mem gz cpu secs cpu load
reverse-complement  1.08  250,000 19,440 1293 0.05 0% 0% 4% 0%
reverse-complement  1.95  100,000,001 798,228 1293 2.39 40% 4% 1% 78%
source secs N mem gz cpu secs cpu load
spectral-norm  #8 1.08  500 19,440 411 0.11 8% 0% 2% 0%
spectral-norm  #8 1.60  3,000 19,440 411 1.60 0% 0% 100% 0%
spectral-norm  #8 5.33  5,500 19,568 411 5.33 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #3 0.44  500 19,440 607 0.07 7% 2% 2% 4%
spectral-norm  #3 0.43  3,000 19,440 607 1.70 100% 100% 97% 97%
spectral-norm  #3 1.43  5,500 19,440 607 5.69 100% 99% 99% 100%