Current benchmark data was generated on Mon Dec 30 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.rs | 1245ms | 9.2ms | 33.8MB | 1227ms | 3ms | rustc 1.83.0 |
rust | 5.rs | 1324ms | 7.0ms | 33.8MB | 1297ms | 10ms | rustc 1.83.0 |
rust | 3.rs | 1436ms | 25ms | 49.8MB | 1403ms | 17ms | rustc 1.83.0 |
odin | 1.odin | 2347ms | 27ms | 49.5MB | 2313ms | 20ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0-unsafe.rs | 32ms | 2.1ms | 1.9MB | 23ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 46ms | 1.5ms | 2.0MB | 37ms | 0ms | rustc 1.83.0 |
odin | 1.odin | 154ms | 3.7ms | 1.6MB | 143ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 4-i.rs | 180ms | 29ms | 1.8MB | 170ms | 0ms | rustc 1.83.0 |
rust | 7-i.rs | 236ms | 1.2ms | 1.8MB | 223ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 238ms | 0.9ms | 1.8MB | 230ms | 0ms | rustc 1.83.0 |
rust | 2.rs | 278ms | 0.4ms | 1.8MB | 270ms | 0ms | rustc 1.83.0 |
rust | 3.rs | 280ms | 0.1ms | 1.9MB | 270ms | 0ms | rustc 1.85.0-nightly |
odin | 1.odin | 354ms | 2.1ms | 1.5MB | 343ms | 0ms | odin 2024 |
odin | 1-i.odin | 356ms | 0.9ms | 1.5MB | 343ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 4-i.rs | 18ms | 0.1ms | 1.8MB | 10ms | 0ms | rustc 1.83.0 |
rust | 7-i.rs | 26ms | 0.2ms | 1.8MB | 17ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 26ms | 0.3ms | 1.8MB | 17ms | 0ms | rustc 1.83.0 |
rust | 2.rs | 30ms | 0.2ms | 1.8MB | 20ms | 0ms | rustc 1.83.0 |
rust | 3.rs | 30ms | 0.2ms | 1.8MB | 20ms | 0ms | rustc 1.85.0-nightly |
odin | 1.odin | 37ms | 0.5ms | 1.5MB | 30ms | 0ms | odin 2024 |
odin | 1-i.odin | 39ms | 1.4ms | 1.5MB | 30ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 8-m.rs | 496ms | 0.3ms | 4.6MB | 1903ms | 3ms | rustc 1.85.0-nightly |
rust | 7-m.rs | 497ms | 0.4ms | 4.2MB | 1913ms | 7ms | rustc 1.83.0 |
rust | 8.rs | 1007ms | 0.3ms | 2.4MB | 993ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 1948ms | 0.9ms | 6.2MB | 7640ms | 7ms | rustc 1.83.0 |
rust | 7.rs | 2100ms | 7.2ms | 1.9MB | 2090ms | 0ms | rustc 1.83.0 |
odin | 1.odin | 3581ms | 2.1ms | 2.9MB | 3567ms | 0ms | odin 2024 |
rust | 2.rs | 4189ms | 4.1ms | 2.0MB | 4177ms | 0ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 8-m.rs | 128ms | 0.2ms | 4.2MB | 450ms | 13ms | rustc 1.85.0-nightly |
rust | 7-m.rs | 128ms | 0.1ms | 4.1MB | 473ms | 0ms | rustc 1.83.0 |
rust | 8.rs | 254ms | 0.5ms | 2.3MB | 247ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 492ms | 2.9ms | 4.1MB | 1880ms | 0ms | rustc 1.83.0 |
rust | 7.rs | 531ms | 2.9ms | 1.8MB | 520ms | 0ms | rustc 1.83.0 |
odin | 1.odin | 899ms | 2.3ms | 2.3MB | 883ms | 0ms | odin 2024 |
rust | 2.rs | 1048ms | 0.7ms | 1.9MB | 1040ms | 0ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 8-m.rs | 35ms | 0.4ms | 4.2MB | 113ms | 0ms | rustc 1.85.0-nightly |
rust | 7-m.rs | 36ms | 0.4ms | 4.1MB | 107ms | 3ms | rustc 1.83.0 |
rust | 8.rs | 66ms | 0.3ms | 2.1MB | 57ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 128ms | 0.5ms | 4.1MB | 463ms | 0ms | rustc 1.83.0 |
rust | 7.rs | 135ms | 2.7ms | 1.8MB | 127ms | 0ms | rustc 1.83.0 |
odin | 1.odin | 226ms | 0.5ms | 1.9MB | 210ms | 0ms | odin 2024 |
rust | 2.rs | 264ms | 0.6ms | 1.9MB | 250ms | 0ms | rustc 1.83.0 |