Current benchmark data was generated on Thu Feb 01 2024, full log can be found HERE
CONTRIBUTIONS are WELCOME!
* -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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 188ms | 3.5ms | 1.5MB | 177ms | 0ms | nim 2.0.2 |
swift | 3-m.swift | 209ms | 1.1ms | 28.8MB | 520ms | 7ms | swift 5.9.2 |
nim | 2.nim | 239ms | 3.2ms | 1.8MB | 227ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 549ms | 1.1ms | 1.8MB | 447ms | 87ms | nim/clang 2.0.2 |
nim | 1.nim | 573ms | 0.7ms | 1.5MB | 463ms | 90ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 20ms | 0.4ms | 1.5MB | 10ms | 0ms | nim 2.0.2 |
nim | 2.nim | 26ms | 0.6ms | 1.6MB | 20ms | 0ms | nim/clang 2.0.2 |
swift | 3.swift | 45ms | 0.5ms | 18.4MB | 43ms | 0ms | swift 5.9.2 |
nim | 1.nim | 58ms | 0.6ms | 1.8MB | 43ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 61ms | 1.0ms | 1.5MB | 43ms | 7ms | nim 2.0.2 |