Current benchmark data was generated on Mon Dec 30 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 |
---|---|---|---|---|---|---|---|
go | 3.go | 127ms | 1.1ms | 0.3MB | 120ms | 0ms | tinygo 0.35.0 |
go | 3.go | 129ms | 0.5ms | 3.4MB | 120ms | 0ms | go 1.23.4 |
odin | 1.odin | 154ms | 3.7ms | 1.6MB | 143ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 275ms | 9.3ms | 40.5MB | 257ms | 3ms | odin 2024 |
go | 1.go | 289ms | 5.5ms | 71.7MB | 277ms | 0ms | go 1.23.4 |
go | 1.go | 328ms | 8.1ms | 42.9MB | 313ms | 0ms | tinygo 0.35.0 |
go | 2.go | 439ms | 2.4ms | 18.0MB | 427ms | 0ms | tinygo 0.35.0 |
odin | 2.odin | 707ms | 45ms | 6.5MB | 693ms | 0ms | odin 2024 |
go | 2.go | 782ms | 1.4ms | 21.8MB | 773ms | 7ms | go 1.23.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 54ms | 1.8ms | 11.3MB | 40ms | 0ms | odin 2024 |
go | 1.go | 60ms | 4.4ms | 21.6MB | 47ms | 0ms | go 1.23.4 |
go | 1.go | 65ms | 0.8ms | 13.0MB | 57ms | 0ms | tinygo 0.35.0 |
go | 2.go | 109ms | 2.7ms | 5.6MB | 100ms | 0ms | tinygo 0.35.0 |
odin | 2.odin | 167ms | 13ms | 2.8MB | 157ms | 0ms | odin 2024 |
go | 2.go | 194ms | 2.3ms | 5.9MB | 183ms | 0ms | go 1.23.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1898ms | 18ms | 5.5MB | 7367ms | 0ms | go 1.23.4 |
odin | 1.odin | 3581ms | 2.1ms | 2.9MB | 3567ms | 0ms | odin 2024 |
go | 1.go | 3660ms | 23ms | 5.5MB | 3653ms | 0ms | go 1.23.4 |
go | 1.go | timeout | 0.0ms | 2.1MB | 4990ms | 0ms | tinygo 0.35.0 |