Current benchmark data was generated on Sun Jun 01 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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 157ms | 1.1ms | 1.6MB | 150ms | 0ms | odin 2024 |
v | 1.v | 243ms | 6.1ms | 1.3MB | 233ms | 0ms | v/clang 0.4.10 |
v | 1.v | 256ms | 1.5ms | 2.1MB | 250ms | 0ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 267ms | 7.1ms | 40.5MB | 253ms | 7ms | odin 2024 |
v | 1.v | 304ms | 5.3ms | 40.3MB | 283ms | 0ms | v/clang 0.4.10 |
v | 1.v | 320ms | 3.2ms | 41.2MB | 307ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 330ms | 2.8ms | 6.7MB | 320ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 332ms | 2.3ms | 6.1MB | 320ms | 0ms | v/clang 0.4.10 |
odin | 2.odin | 722ms | 37ms | 6.5MB | 713ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 56ms | 4.6ms | 11.3MB | 47ms | 0ms | odin 2024 |
v | 1.v | 62ms | 3.3ms | 11.9MB | 53ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 65ms | 1.9ms | 11.0MB | 57ms | 0ms | v/clang 0.4.10 |
v | 2.v | 82ms | 1.2ms | 2.4MB | 73ms | 0ms | v/clang 0.4.10 |
v | 2.v | 82ms | 1.3ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.10 |
odin | 2.odin | 179ms | 8.0ms | 2.8MB | 170ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 3598ms | 2.4ms | 2.9MB | 3590ms | 0ms | odin 2024 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.10 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4990ms | 0ms | v/clang+gc 0.4.10 |