Current benchmark data was generated on Sun Dec 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 |
---|---|---|---|---|---|---|---|
kotlin | 1.kt | 3707ms | 69ms | 352.5MB | 4577ms | 93ms | kotlin/jvm 21 |
kotlin | 1n.kt | timeout | 0.0ms | 20.9MB | 6393ms | 267ms | kotlin/native 1.8.21 |
kotlin | 2n.kt | timeout | 0.0ms | 8.2MB | 4993ms | 160ms | kotlin/native 1.8.21 |
swift | 1.swift | timeout | 0.0ms | 7.5MB | 4933ms | 53ms | swift 6.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
kotlin | 1-m.kt | 1004ms | 32ms | 354.5MB | 1770ms | 80ms | kotlin/jvm 21 |
swift | 1.swift | 1947ms | 10ms | 7.3MB | 1933ms | 0ms | swift 6.0.2 |
kotlin | 1n.kt | timeout | 0.0ms | 7.4MB | 6367ms | 263ms | kotlin/native 1.8.21 |
kotlin | 2n.kt | timeout | 0.0ms | 8.3MB | 5000ms | 160ms | kotlin/native 1.8.21 |