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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 247ms | 19ms | 1.8MB | 237ms | 0ms | odin 2024 |
v | 1.v | 251ms | 3.2ms | 1.4MB | 240ms | 0ms | v/clang 0.4.4 |
v | 1.v | 261ms | 2.8ms | 2.3MB | 250ms | 0ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 291ms | 4.7ms | 40.6MB | 270ms | 3ms | odin 2024 |
v | 2.v | 328ms | 2.8ms | 6.9MB | 317ms | 0ms | v/clang+gc 0.4.4 |
v | 2.v | 330ms | 3.2ms | 6.1MB | 317ms | 0ms | v/clang 0.4.4 |
v | 1.v | 343ms | 6.3ms | 40.3MB | 320ms | 5ms | v/clang 0.4.4 |
v | 1.v | 343ms | 10ms | 41.2MB | 333ms | 0ms | v/clang+gc 0.4.4 |
odin | 2.odin | 811ms | 3.6ms | 6.5MB | 797ms | 3ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 56ms | 0.9ms | 11.3MB | 43ms | 0ms | odin 2024 |
v | 1.v | 62ms | 1.0ms | 11.9MB | 50ms | 0ms | v/clang+gc 0.4.4 |
v | 1.v | 65ms | 1.7ms | 11.0MB | 50ms | 0ms | v/clang 0.4.4 |
v | 2.v | 81ms | 1.2ms | 2.5MB | 70ms | 0ms | v/clang 0.4.4 |
v | 2.v | 82ms | 1.1ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.4 |
odin | 2.odin | 200ms | 0.3ms | 2.8MB | 190ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 3783ms | 11ms | 2.9MB | 3773ms | 0ms | odin 2024 |
v | 1.v | timeout | 0.0ms | 1.8MB | 4990ms | 0ms | v/clang 0.4.4 |
v | 1.v | timeout | 0.0ms | 3.0MB | 4987ms | 0ms | v/clang+gc 0.4.4 |