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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 108ms | 1.5ms | 1.6MB | 100ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 109ms | 2.7ms | 1.4MB | 97ms | 0ms | nim 2.0.2 |
odin | 1.odin | 247ms | 19ms | 1.8MB | 237ms | 0ms | odin 2024 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.0.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 316ms | 0.4ms | 1.9MB | 307ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 323ms | 4.4ms | 1.4MB | 313ms | 0ms | nim 2.0.2 |
odin | 1.odin | 701ms | 1.0ms | 1.8MB | 687ms | 0ms | odin 2024 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.0.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 48ms | 0.6ms | 1.5MB | 40ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 49ms | 0.7ms | 1.3MB | 40ms | 0ms | nim 2.0.2 |
odin | 1.odin | 111ms | 1.3ms | 1.6MB | 100ms | 0ms | odin 2024 |
nim | 1.nim | 536ms | 10ms | 1.5MB | 523ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 536ms | 8.6ms | 1.3MB | 523ms | 0ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 318ms | 1.0ms | 1.8MB | 310ms | 0ms | nim 2.0.2 |
nim | 2.nim | 343ms | 3.5ms | 2.0MB | 333ms | 0ms | nim/clang 2.0.2 |
odin | 1-i.odin | 412ms | 1.8ms | 1.8MB | 400ms | 0ms | odin 2024 |
odin | 1.odin | 4417ms | 16ms | 1.6MB | 4413ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3574ms | 1.9ms | 1.6MB | 3567ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 3591ms | 12ms | 1.4MB | 3580ms | 0ms | nim 2.0.2 |
odin | 1.odin | 3783ms | 11ms | 2.9MB | 3773ms | 0ms | odin 2024 |