Current benchmark data was generated on Sat Nov 16 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 | 131ms | 3.4ms | 3.4MB | 123ms | 0ms | go 1.23.3 |
go | 3.go | 133ms | 2.8ms | 0.3MB | 123ms | 0ms | tinygo 0.34.0 |
odin | 1.odin | 162ms | 12ms | 1.6MB | 150ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 283ms | 4.5ms | 40.6MB | 263ms | 3ms | odin 2024 |
go | 1.go | 302ms | 4.7ms | 71.7MB | 287ms | 3ms | go 1.23.3 |
go | 1.go | 361ms | 8.8ms | 42.8MB | 347ms | 0ms | tinygo 0.34.0 |
go | 2.go | 434ms | 4.2ms | 17.3MB | 423ms | 0ms | tinygo 0.34.0 |
odin | 2.odin | 744ms | 10ms | 6.5MB | 733ms | 3ms | odin 2024 |
go | 2.go | 779ms | 0.5ms | 21.8MB | 763ms | 7ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 59ms | 0.9ms | 11.4MB | 50ms | 0ms | odin 2024 |
go | 1.go | 60ms | 0.6ms | 21.6MB | 47ms | 0ms | go 1.23.3 |
go | 1.go | 65ms | 2.5ms | 13.7MB | 53ms | 0ms | tinygo 0.34.0 |
go | 2.go | 107ms | 1.7ms | 5.6MB | 97ms | 0ms | tinygo 0.34.0 |
odin | 2.odin | 177ms | 11ms | 2.8MB | 167ms | 0ms | odin 2024 |
go | 2.go | 197ms | 2.3ms | 7.6MB | 180ms | 3ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1890ms | 3.1ms | 5.5MB | 7367ms | 0ms | go 1.23.3 |
odin | 1.odin | 3586ms | 7.2ms | 2.9MB | 3573ms | 0ms | odin 2024 |
go | 1.go | 3654ms | 21ms | 5.5MB | 3643ms | 3ms | go 1.23.3 |
go | 1.go | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | tinygo 0.34.0 |