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 | 1-http2.go | 109ms | 2.4ms | 57.5MB | 300ms | 73ms | go 1.23.3 |
go | 1-m.go | 478ms | 56ms | 174.5MB | 643ms | 653ms | go 1.23.3 |
go | 2-m.go | 485ms | 29ms | 172.5MB | 660ms | 647ms | go 1.23.3 |
crystal | 1.cr | 2213ms | 195ms | 186.4MB | 290ms | 500ms | crystal 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 36ms | 0.9ms | 3.1MB | 23ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 65ms | 0.9ms | 3.1MB | 53ms | 0ms | crystal 1.14.0 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 100ms | 0.6ms | 3.1MB | 90ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 183ms | 1.6ms | 3.1MB | 170ms | 0ms | crystal 1.14.0 |
go | 3.go | 385ms | 6.1ms | 3.4MB | 377ms | 0ms | go 1.23.3 |
go | 3.go | 391ms | 4.4ms | 2.1MB | 380ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 19ms | 1.1ms | 3.0MB | 10ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 30ms | 1.0ms | 3.0MB | 20ms | 0ms | crystal 1.14.0 |
go | 3.go | 65ms | 0.5ms | 0.1MB | 53ms | 0ms | tinygo 0.34.0 |
go | 3.go | 69ms | 1.3ms | 5.5MB | 60ms | 0ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 804ms | 11ms | 81.7MB | 773ms | 13ms | crystal 1.14.0 |
go | 1-m.go | 1612ms | 18ms | 36.6MB | 3263ms | 33ms | go 1.23.3 |
go | 2-m.go | 1871ms | 71ms | 43.0MB | 3923ms | 27ms | go 1.23.3 |
go | 1.go | 2050ms | 9.5ms | 52.0MB | 2030ms | 3ms | tinygo 0.34.0 |
go | 2.go | 3360ms | 7.7ms | 90.6MB | 3333ms | 10ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 160ms | 0.7ms | 22.4MB | 140ms | 3ms | crystal 1.14.0 |
go | 1-m.go | 365ms | 1.7ms | 12.1MB | 700ms | 27ms | go 1.23.3 |
go | 2-m.go | 410ms | 1.5ms | 13.9MB | 847ms | 13ms | go 1.23.3 |
go | 1.go | 441ms | 5.4ms | 13.7MB | 430ms | 0ms | tinygo 0.34.0 |
go | 2.go | 669ms | 4.4ms | 29.0MB | 657ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 342ms | 2.6ms | 3.4MB | 327ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 344ms | 2.9ms | 3.4MB | 333ms | 0ms | crystal 1.14.0 |
go | 1.go | 348ms | 4.4ms | 0.1MB | 337ms | 0ms | tinygo 0.34.0 |
go | 1.go | 362ms | 2.1ms | 3.4MB | 350ms | 0ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 302ms | 4.7ms | 71.7MB | 287ms | 3ms | go 1.23.3 |
crystal | 2.cr | 351ms | 1.7ms | 8.4MB | 340ms | 0ms | crystal 1.14.0 |
go | 1.go | 361ms | 8.8ms | 42.8MB | 347ms | 0ms | tinygo 0.34.0 |
crystal | 1.cr | 373ms | 4.3ms | 43.0MB | 357ms | 0ms | crystal 1.14.0 |
go | 2.go | 434ms | 4.2ms | 17.3MB | 423ms | 0ms | tinygo 0.34.0 |
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 |
---|---|---|---|---|---|---|---|
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 |
crystal | 1.cr | 79ms | 1.1ms | 13.3MB | 70ms | 0ms | crystal 1.14.0 |
crystal | 2.cr | 87ms | 1.7ms | 4.6MB | 80ms | 0ms | crystal 1.14.0 |
go | 2.go | 107ms | 1.7ms | 5.6MB | 97ms | 0ms | tinygo 0.34.0 |
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 |
go | 1.go | 3654ms | 21ms | 5.5MB | 3643ms | 3ms | go 1.23.3 |
crystal | 1.cr | 3898ms | 25ms | 4.6MB | 3887ms | 0ms | crystal 1.14.0 |
go | 1.go | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | tinygo 0.34.0 |