Current benchmark data was generated on Thu Jul 13 2023, 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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 297ms | 45ms | 1.2MB | 287ms | 0ms | odin 2023 |
v | 1.v | 397ms | 1.1ms | 2.2MB | 387ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 425ms | 1.0ms | 2.3MB | 413ms | 0ms | v/clang 0.4.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 507ms | 7.4ms | 10.8MB | 493ms | 0ms | v/clang 0.4.0 |
v | 2.v | 514ms | 7.9ms | 10.6MB | 500ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 546ms | 16ms | 41.2MB | 527ms | 0ms | v/clang 0.4.0 |
odin | 1.odin | 587ms | 13ms | 40.6MB | 570ms | 3ms | odin 2023 |
v | 1.v | 591ms | 49ms | 41.1MB | 570ms | 0ms | v/clang+gc 0.4.0 |
odin | 2.odin | 1175ms | 2.5ms | 6.4MB | 1167ms | 0ms | odin 2023 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 116ms | 0.7ms | 4.0MB | 100ms | 0ms | v/clang+gc 0.4.0 |
v | 2.v | 117ms | 0.6ms | 4.1MB | 107ms | 0ms | v/clang 0.4.0 |
odin | 1.odin | 122ms | 0.7ms | 11.3MB | 110ms | 0ms | odin 2023 |
v | 1.v | 124ms | 4.9ms | 20.2MB | 113ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 126ms | 4.9ms | 20.8MB | 110ms | 0ms | v/clang 0.4.0 |
odin | 2.odin | 290ms | 0.5ms | 2.5MB | 280ms | 0ms | odin 2023 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 4493ms | 2.9ms | 2.8MB | 4480ms | 0ms | odin 2023 |
v | 1.v | timeout | 0.0ms | 3.1MB | 4990ms | 0ms | v/clang 0.4.0 |
v | 1.v | timeout | 0.0ms | 3.0MB | 4990ms | 0ms | v/clang+gc 0.4.0 |