All Swift benchmarks

Current benchmark data was generated on Fri Jul 01 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz (Model 85)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

fannkuch-redux

Input: 11

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.swift 3691ms 34ms 4.9MB 3680ms 0ms swift 5.6.2

Input: 10

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.swift 314ms 2.6ms 4.9MB 303ms 0ms swift 5.6.2

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3-m.swift 322ms 13ms 21.0MB 533ms 10ms swift 5.6.2

Input: 250000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3.swift 58ms 2.1ms 14.5MB 50ms 7ms swift 5.6.2

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.swift 2.6ms 1.1ms 2.3MB 0ms 0ms swift 5.6.2

knucleotide

Input: 2500000_in

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.swift 2775ms 358ms 42.8MB 4757ms 43ms swift 5.6.2

Input: 250000_in

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.swift 447ms 20ms 31.8MB 727ms 33ms swift 5.6.2

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7.swift 548ms 3.7ms 5.2MB 540ms 0ms swift 5.6.2

Input: 500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7.swift 59ms 0.8ms 5.2MB 50ms 0ms swift 5.6.2

pidigits

Input: 8000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.swift timeout 0.0ms 0.0MB 0ms 0ms swift 5.6.2

Input: 4000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.swift 4133ms 11ms 6.3MB 4113ms 3ms swift 5.6.2