Current benchmark data was generated on Wed Jan 22 2025, 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 |
---|---|---|---|---|---|---|---|
kotlin | 1.kt | 3713ms | 77ms | 353.7MB | 4497ms | 83ms | kotlin/jvm 21 |
kotlin | 1n.kt | timeout | 0.0ms | 7.4MB | 6367ms | 257ms | kotlin/native 1.8.21 |
kotlin | 2n.kt | timeout | 0.0ms | 8.3MB | 4983ms | 173ms | kotlin/native 1.8.21 |
swift | 1.swift | timeout | 0.0ms | 7.1MB | 4907ms | 77ms | swift 6.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
kotlin | 1-m.kt | 1005ms | 20ms | 353.8MB | 1740ms | 70ms | kotlin/jvm 21 |
swift | 1.swift | 1861ms | 13ms | 6.9MB | 1840ms | 3ms | swift 6.0.3 |
kotlin | 1n.kt | timeout | 0.0ms | 7.3MB | 6397ms | 293ms | kotlin/native 1.8.21 |
kotlin | 2n.kt | timeout | 0.0ms | 10.3MB | 5003ms | 153ms | kotlin/native 1.8.21 |