Current benchmark data was generated on Mon Mar 31 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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 189ms | 2.4ms | 1.5MB | 177ms | 0ms | nim 2.2.2 |
nim | 2.nim | 237ms | 2.8ms | 1.8MB | 227ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 553ms | 0.6ms | 1.8MB | 447ms | 90ms | nim/clang 2.2.2 |
nim | 1.nim | 579ms | 2.1ms | 1.5MB | 477ms | 87ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 111ms | 1.6ms | 1.6MB | 100ms | 0ms | nim/clang 2.2.2 |
nim | 2.nim | 113ms | 2.6ms | 1.4MB | 103ms | 0ms | nim 2.2.2 |
odin | 1.odin | 147ms | 2.9ms | 1.6MB | 140ms | 0ms | odin 2024 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 324ms | 1.9ms | 1.6MB | 313ms | 0ms | nim/clang 2.2.2 |
nim | 2.nim | 326ms | 1.9ms | 1.6MB | 320ms | 0ms | nim 2.2.2 |
odin | 1.odin | 423ms | 1.9ms | 1.6MB | 417ms | 0ms | odin 2024 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 50ms | 1.1ms | 1.3MB | 40ms | 0ms | nim 2.2.2 |
nim | 2.nim | 50ms | 0.7ms | 1.6MB | 40ms | 0ms | nim/clang 2.2.2 |
odin | 1.odin | 66ms | 0.9ms | 1.6MB | 60ms | 0ms | odin 2024 |
nim | 1.nim | 440ms | 2.2ms | 1.5MB | 430ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 481ms | 0.8ms | 1.3MB | 470ms | 0ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 3567ms | 10ms | 2.9MB | 3560ms | 0ms | odin 2024 |
nim | 1.nim | 3590ms | 1.4ms | 1.6MB | 3580ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 3596ms | 7.0ms | 1.9MB | 3583ms | 0ms | nim 2.2.2 |