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 |
---|---|---|---|---|---|---|---|
rust | 4.rs | 1251ms | 6.0ms | 33.8MB | 1233ms | 7ms | rustc 1.83.0 |
rust | 5.rs | 1378ms | 31ms | 33.8MB | 1357ms | 10ms | rustc 1.83.0 |
rust | 3.rs | 1482ms | 30ms | 49.8MB | 1443ms | 23ms | rustc 1.83.0 |
odin | 1.odin | 2354ms | 21ms | 49.5MB | 2323ms | 17ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0-unsafe.rs | 42ms | 1.1ms | 1.9MB | 30ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 51ms | 4.9ms | 2.0MB | 43ms | 0ms | rustc 1.83.0 |
odin | 1.odin | 144ms | 0.2ms | 1.6MB | 137ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 4-i.rs | 165ms | 3.7ms | 1.9MB | 153ms | 0ms | rustc 1.83.0 |
rust | 7-i.rs | 236ms | 0.8ms | 1.8MB | 227ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 238ms | 0.5ms | 1.8MB | 230ms | 0ms | rustc 1.83.0 |
rust | 2.rs | 279ms | 0.3ms | 1.8MB | 267ms | 0ms | rustc 1.83.0 |
rust | 3.rs | 280ms | 0.4ms | 1.9MB | 270ms | 0ms | rustc 1.85.0-nightly |
odin | 1-i.odin | 355ms | 0.4ms | 1.5MB | 343ms | 0ms | odin 2024 |
odin | 1.odin | 360ms | 14ms | 1.5MB | 350ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 4-i.rs | 19ms | 0.4ms | 1.8MB | 10ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 26ms | 0.1ms | 1.8MB | 17ms | 0ms | rustc 1.83.0 |
rust | 7-i.rs | 26ms | 0.2ms | 1.8MB | 13ms | 0ms | rustc 1.83.0 |
rust | 2.rs | 30ms | 0.1ms | 1.8MB | 20ms | 0ms | rustc 1.83.0 |
rust | 3.rs | 30ms | 0.2ms | 1.9MB | 20ms | 0ms | rustc 1.85.0-nightly |
odin | 1-i.odin | 37ms | 0.1ms | 1.5MB | 27ms | 0ms | odin 2024 |
odin | 1.odin | 38ms | 0.8ms | 1.5MB | 27ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 8-m.rs | 498ms | 0.9ms | 6.5MB | 1900ms | 7ms | rustc 1.85.0-nightly |
rust | 7-m.rs | 498ms | 1.8ms | 4.2MB | 1907ms | 10ms | rustc 1.83.0 |
rust | 8.rs | 1016ms | 12ms | 2.5MB | 1003ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 1952ms | 2.2ms | 6.2MB | 7643ms | 0ms | rustc 1.83.0 |
rust | 7.rs | 2122ms | 22ms | 1.9MB | 2117ms | 0ms | rustc 1.83.0 |
odin | 1.odin | 3584ms | 3.5ms | 2.9MB | 3570ms | 0ms | odin 2024 |
rust | 2.rs | 4203ms | 9.7ms | 2.0MB | 4193ms | 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.4ms | 6.2MB | 470ms | 3ms | rustc 1.85.0-nightly |
rust | 7-m.rs | 129ms | 0.5ms | 6.1MB | 463ms | 7ms | rustc 1.83.0 |
rust | 8.rs | 255ms | 1.5ms | 2.3MB | 243ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 492ms | 0.5ms | 4.1MB | 1890ms | 0ms | rustc 1.83.0 |
rust | 7.rs | 530ms | 4.7ms | 1.8MB | 523ms | 0ms | rustc 1.83.0 |
odin | 1.odin | 901ms | 2.9ms | 2.3MB | 890ms | 0ms | odin 2024 |
rust | 2.rs | 1051ms | 1.9ms | 1.9MB | 1040ms | 0ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 7-m.rs | 36ms | 0.2ms | 4.1MB | 107ms | 0ms | rustc 1.83.0 |
rust | 8-m.rs | 36ms | 0.5ms | 4.1MB | 117ms | 0ms | rustc 1.85.0-nightly |
rust | 8.rs | 66ms | 0.3ms | 2.0MB | 57ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 127ms | 0.6ms | 4.1MB | 457ms | 7ms | rustc 1.83.0 |
rust | 7.rs | 135ms | 2.0ms | 1.8MB | 127ms | 0ms | rustc 1.83.0 |
odin | 1.odin | 228ms | 1.8ms | 1.9MB | 220ms | 0ms | odin 2024 |
rust | 2.rs | 266ms | 1.0ms | 1.9MB | 253ms | 0ms | rustc 1.83.0 |