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 |
---|---|---|---|---|---|---|---|
rust | 4-i.rs | 168ms | 9.4ms | 1.9MB | 157ms | 0ms | rustc 1.75.0 |
rust | 7-i.rs | 222ms | 0.8ms | 1.9MB | 210ms | 0ms | rustc 1.75.0 |
rust | 3.rs | 285ms | 0.7ms | 1.9MB | 277ms | 0ms | rustc 1.77.0-nightly |
rust | 2.rs | 288ms | 0.4ms | 1.8MB | 273ms | 0ms | rustc 1.75.0 |
rust | 1.rs | 338ms | 1.1ms | 1.9MB | 330ms | 0ms | rustc 1.75.0 |
codon | 1.py | 1295ms | 1.9ms | 7.7MB | 1287ms | 0ms | codon 0.16.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 4-i.rs | 19ms | 1.1ms | 1.9MB | 10ms | 0ms | rustc 1.75.0 |
rust | 7-i.rs | 25ms | 0.5ms | 1.9MB | 13ms | 0ms | rustc 1.75.0 |
rust | 3.rs | 31ms | 0.2ms | 1.8MB | 20ms | 0ms | rustc 1.77.0-nightly |
rust | 2.rs | 31ms | 0.1ms | 1.8MB | 20ms | 0ms | rustc 1.75.0 |
rust | 1.rs | 37ms | 1.1ms | 1.8MB | 30ms | 0ms | rustc 1.75.0 |
codon | 1.py | 140ms | 2.4ms | 5.8MB | 127ms | 0ms | codon 0.16.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 1.rs | 329ms | 1.6ms | 41.1MB | 313ms | 3ms | rustc 1.75.0 |
rust | 2.rs | 336ms | 5.8ms | 6.8MB | 327ms | 0ms | rustc 1.75.0 |
codon | 1.py | 406ms | 0.9ms | 46.5MB | 390ms | 0ms | codon 0.16.3 |
codon | 2.py | 482ms | 8.3ms | 107.0MB | 463ms | 13ms | codon 0.16.3 |