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 |
---|---|---|---|---|---|---|---|
go | 3.go | 128ms | 1.8ms | 3.3MB | 120ms | 0ms | go 1.21.6 |
go | 3.go | 135ms | 4.0ms | 0.3MB | 127ms | 0ms | tinygo 0.30.0 |
odin | 1.odin | 247ms | 19ms | 1.8MB | 237ms | 0ms | odin 2024 |
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 |
go | 1.go | 311ms | 4.6ms | 72.5MB | 297ms | 0ms | go 1.21.6 |
go | 1.go | 331ms | 2.1ms | 42.8MB | 320ms | 0ms | tinygo 0.30.0 |
go | 2.go | 437ms | 5.1ms | 17.8MB | 427ms | 0ms | tinygo 0.30.0 |
go | 2.go | 740ms | 3.8ms | 21.7MB | 723ms | 3ms | go 1.21.6 |
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 |
go | 1.go | 62ms | 1.2ms | 21.6MB | 47ms | 0ms | go 1.21.6 |
go | 1.go | 66ms | 1.0ms | 12.6MB | 53ms | 0ms | tinygo 0.30.0 |
go | 2.go | 110ms | 2.0ms | 4.6MB | 100ms | 0ms | tinygo 0.30.0 |
go | 2.go | 181ms | 1.7ms | 7.2MB | 170ms | 0ms | go 1.21.6 |
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 |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1911ms | 7.7ms | 5.3MB | 7327ms | 0ms | go 1.21.6 |
go | 1.go | 3639ms | 25ms | 5.4MB | 3630ms | 0ms | go 1.21.6 |
odin | 1.odin | 3783ms | 11ms | 2.9MB | 3773ms | 0ms | odin 2024 |
go | 1.go | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | tinygo 0.30.0 |