Current benchmark data was generated on Sun Dec 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 | 132ms | 1.8ms | 3.4MB | 123ms | 0ms | go 1.23.3 |
go | 3.go | 135ms | 3.9ms | 0.3MB | 127ms | 0ms | tinygo 0.34.0 |
odin | 1.odin | 144ms | 0.2ms | 1.6MB | 137ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 279ms | 12ms | 40.6MB | 263ms | 0ms | odin 2024 |
go | 1.go | 312ms | 0.7ms | 73.6MB | 293ms | 3ms | go 1.23.3 |
go | 1.go | 318ms | 4.6ms | 42.9MB | 307ms | 0ms | tinygo 0.34.0 |
go | 2.go | 432ms | 2.1ms | 18.0MB | 420ms | 0ms | tinygo 0.34.0 |
odin | 2.odin | 719ms | 45ms | 6.5MB | 707ms | 0ms | odin 2024 |
go | 2.go | 787ms | 2.3ms | 21.9MB | 780ms | 0ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 56ms | 1.1ms | 11.4MB | 43ms | 0ms | odin 2024 |
go | 1.go | 57ms | 0.9ms | 13.7MB | 47ms | 0ms | tinygo 0.34.0 |
go | 1.go | 60ms | 4.2ms | 21.6MB | 50ms | 0ms | go 1.23.3 |
go | 2.go | 117ms | 6.5ms | 5.9MB | 107ms | 0ms | tinygo 0.34.0 |
odin | 2.odin | 173ms | 11ms | 2.8MB | 163ms | 0ms | odin 2024 |
go | 2.go | 196ms | 2.3ms | 6.3MB | 183ms | 0ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1907ms | 17ms | 5.4MB | 7330ms | 10ms | go 1.23.3 |
odin | 1.odin | 3584ms | 3.5ms | 2.9MB | 3570ms | 0ms | odin 2024 |
go | 1.go | 3680ms | 35ms | 5.4MB | 3673ms | 0ms | go 1.23.3 |
go | 1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.34.0 |