Current benchmark data was generated on Fri May 20 2022, 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 | 176ms | 1.5ms | 1.8MB | 160ms | 0ms | odin 2022 |
v | 1.v | 399ms | 1.3ms | 0.6MB | 390ms | 0ms | v/clang 0.2.4 |
v | 1.v | 416ms | 0.8ms | 2.3MB | 400ms | 0ms | v/clang+gc 0.2.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 509ms | 13ms | 6.8MB | 490ms | 0ms | v/clang+gc 0.2.4 |
v | 1.v | 533ms | 20ms | 40.2MB | 517ms | 3ms | v/clang 0.2.4 |
v | 1.v | 539ms | 16ms | 41.2MB | 527ms | 0ms | v/clang+gc 0.2.4 |
odin | 1.odin | 819ms | 17ms | 40.6MB | 797ms | 7ms | odin 2022 |
odin | 2.odin | 1251ms | 15ms | 6.4MB | 1240ms | 0ms | odin 2022 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 117ms | 1.0ms | 3.2MB | 103ms | 0ms | v/clang+gc 0.2.4 |
v | 1.v | 118ms | 0.6ms | 11.0MB | 110ms | 0ms | v/clang 0.2.4 |
v | 1.v | 118ms | 2.9ms | 19.1MB | 100ms | 0ms | v/clang+gc 0.2.4 |
odin | 1.odin | 122ms | 0.2ms | 11.4MB | 110ms | 0ms | odin 2022 |
odin | 2.odin | 303ms | 3.5ms | 2.9MB | 293ms | 0ms | odin 2022 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 4117ms | 0.3ms | 1.8MB | 4110ms | 0ms | v/clang 0.2.4 |
v | 1.v | 4119ms | 2.0ms | 3.0MB | 4103ms | 0ms | v/clang+gc 0.2.4 |
odin | 1.odin | 4493ms | 1.5ms | 2.9MB | 4480ms | 0ms | odin 2022 |