The Computer Language
Benchmarks Game

all Swift programs & measurements

Swift version 3.1-dev (LLVM a7c680da51, Clang 9772bf511a, Swift 00b540bfbb)
Target: x86_64-unknown-linux-gnu
swift-3.1-DEVELOPMENT-SNAPSHOT-2017-03-13-a-ubuntu16.04
source secs N mem gz cpu cpu load
binary-trees  #9 0.04  12 ? 1062 0.06 50% 100% 33% 0%
binary-trees  #9 0.27  16 1,412 1062 0.80 78% 92% 50% 86%
binary-trees  #9 5.55  20 247,508 1062 16.74 65% 74% 70% 95%
source secs N mem gz cpu cpu load
binary-trees  0.14  12 ? 792 0.29 62% 38% 38% 79%
binary-trees  2.05  16 52,364 792 6.26 96% 83% 84% 44%
binary-trees  45.77  20 573,944 792 141.40 72% 73% 98% 68%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.08  10 ? 1102 0.28 89% 88% 67% 100%
fannkuch-redux  #3 0.88  11 6,756 1102 3.46 99% 97% 100% 99%
fannkuch-redux  #3 11.44  12 6,900 1102 45.27 100% 100% 98% 98%
source secs N mem gz cpu cpu load
fannkuch-redux  0.34  10 1,264 451 0.34 0% 100% 3% 0%
fannkuch-redux  4.20  11 4,272 451 4.20 1% 1% 100% 0%
fannkuch-redux  56.89  12 4,292 451 56.87 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1953 0.06 0% 0% 40% 67%
fasta  #2 0.36  2,500,000 1,360 1953 0.52 41% 54% 15% 30%
fasta  #2 2.77  25,000,000 9,340 1953 4.18 7% 62% 6% 79%
source secs N mem gz cpu cpu load
fasta  0.12  250,000 ? 1527 0.12 0% 0% 0% 100%
fasta  1.14  2,500,000 5,996 1527 1.13 100% 1% 2% 1%
fasta  11.00  25,000,000 6,304 1527 11.00 100% 1% 1% 0%
source secs N mem gz cpu cpu load
fasta  #3 0.13  250,000 ? 2096 0.14 42% 31% 17% 29%
fasta  #3 0.38  2,500,000 1,388 2096 0.85 50% 58% 74% 48%
fasta  #3 2.40  25,000,000 32,536 2096 7.26 78% 81% 72% 73%
source secs N mem gz cpu cpu load
k-nucleotide  #2 1.32  250,000 69,364 1366 1.96 90% 20% 29% 12%
k-nucleotide  #2 3.32  2,500,000 84,608 1366 8.60 71% 58% 84% 57%
k-nucleotide  #2 20.48  25,000,000 263,288 1366 75.71 91% 99% 91% 91%
source secs N mem gz cpu cpu load
k-nucleotide  1.25  250,000 51,196 1231 1.80 58% 12% 53% 22%
k-nucleotide  3.35  2,500,000 72,620 1231 8.94 70% 59% 59% 82%
k-nucleotide  23.93  25,000,000 179,948 1231 78.75 97% 78% 78% 77%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.03  1,000 ? 1136 0.06 75% 67% 0% 67%
mandelbrot  #3 0.22  4,000 1,316 1136 0.83 95% 100% 95% 96%
mandelbrot  #3 3.22  16,000 40,340 1136 12.76 99% 99% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.22  1,000 1,168 394 0.20 5% 5% 0% 96%
mandelbrot  3.19  4,000 4,296 394 3.18 1% 100% 0% 1%
mandelbrot  50.67  16,000 4,336 394 50.66 1% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #6 0.26  500,000 1,360 1194 0.26 100% 0% 4% 0%
n-body  #6 2.54  5,000,000 4,268 1194 2.54 0% 100% 0% 1%
n-body  #6 25.26  50,000,000 4,300 1194 25.25 0% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.34  500,000 1,164 1192 0.33 0% 11% 0% 100%
n-body  #2 3.28  5,000,000 4,256 1192 3.28 100% 1% 1% 0%
n-body  #2 32.68  50,000,000 4,296 1192 32.67 0% 2% 1% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.31  500,000 1,288 1204 0.30 0% 0% 100% 3%
n-body  #3 3.01  5,000,000 4,232 1204 3.00 100% 1% 1% 0%
n-body  #3 30.00  50,000,000 4,332 1204 29.99 1% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #5 0.25  500,000 944 1253 0.24 4% 0% 100% 0%
n-body  #5 2.38  5,000,000 4,152 1253 2.38 0% 100% 1% 0%
n-body  #5 23.59  50,000,000 4,336 1253 23.58 0% 100% 1% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 601 0.06 0% 100% 0% 0%
pidigits  #2 0.61  6,000 7,128 601 0.60 100% 2% 0% 0%
pidigits  #2 1.75  10,000 7,396 601 1.74 1% 1% 100% 0%
pidigits  Make Error  2,000
source secs N mem gz cpu cpu load
regex-redux  1.01  50,000 22,108 671 0.98 2% 0% 1% 100%
regex-redux  9.75  500,000 90,764 671 9.74 1% 1% 0% 100%
regex-redux  97.48  5,000,000 694,832 671 97.43 1% 100% 0% 1%
source secs N mem gz cpu cpu load
reverse-complement  0.47  250,000 ? 1287 ? 2% 93% 9% 0%
reverse-complement  0.49  2,500,000 ? 1287 ? 64% 8% 4% 35%
reverse-complement  0.94  25,000,000 285,740 1287 1.12 54% 0% 47% 21%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.06  500 ? 601 0.16 83% 80% 100% 14%
spectral-norm  #3 1.20  3,000 9,432 601 4.73 100% 99% 97% 99%
spectral-norm  #3 3.97  5,500 10,696 601 15.79 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.16  500 ? 438 0.15 0% 0% 100% 0%
spectral-norm  4.85  3,000 15,604 438 4.84 1% 100% 1% 1%
spectral-norm  16.19  5,500 15,912 438 16.18 0% 1% 100% 0%