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 | 1-http2.go | 121ms | 6.0ms | 59.4MB | 300ms | 103ms | go 1.21.6 |
go | 2-m.go | 445ms | 7.9ms | 175.9MB | 593ms | 670ms | go 1.21.6 |
go | 1-m.go | 454ms | 8.3ms | 167.7MB | 667ms | 603ms | go 1.21.6 |
crystal | 1.cr | 3454ms | 121ms | 214.8MB | 293ms | 433ms | crystal 1.11.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 38ms | 0.7ms | 3.3MB | 30ms | 0ms | crystal 1.11.2 |
crystal | 1.cr | 67ms | 1.0ms | 3.3MB | 57ms | 0ms | crystal 1.11.2 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 106ms | 1.1ms | 3.3MB | 97ms | 0ms | crystal 1.11.2 |
crystal | 1.cr | 188ms | 1.0ms | 3.3MB | 180ms | 0ms | crystal 1.11.2 |
go | 3.go | 371ms | 1.4ms | 3.3MB | 360ms | 0ms | go 1.21.6 |
go | 3.go | 388ms | 1.8ms | 2.3MB | 380ms | 0ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 20ms | 1.2ms | 3.1MB | 10ms | 0ms | crystal 1.11.2 |
crystal | 1.cr | 35ms | 1.1ms | 3.1MB | 27ms | 0ms | crystal 1.11.2 |
go | 3.go | 63ms | 0.8ms | 3.1MB | 53ms | 0ms | go 1.21.6 |
go | 3.go | 71ms | 5.8ms | 0.1MB | 63ms | 0ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 928ms | 8.2ms | 64.6MB | 903ms | 7ms | crystal 1.11.2 |
go | 1-m.go | 1632ms | 20ms | 39.1MB | 3303ms | 47ms | go 1.21.6 |
go | 2-m.go | 1860ms | 6.1ms | 41.4MB | 3863ms | 37ms | go 1.21.6 |
go | 1.go | 2314ms | 36ms | 51.7MB | 2297ms | 7ms | tinygo 0.30.0 |
go | 2.go | 3797ms | 21ms | 119.4MB | 3773ms | 7ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 171ms | 2.6ms | 17.6MB | 157ms | 0ms | crystal 1.11.2 |
go | 1-m.go | 365ms | 1.8ms | 13.8MB | 710ms | 13ms | go 1.21.6 |
go | 2-m.go | 409ms | 1.0ms | 13.8MB | 820ms | 20ms | go 1.21.6 |
go | 1.go | 445ms | 1.4ms | 13.8MB | 433ms | 0ms | tinygo 0.30.0 |
go | 2.go | 684ms | 10ms | 39.5MB | 670ms | 0ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 342ms | 0.8ms | 3.5MB | 330ms | 0ms | crystal 1.11.2 |
crystal | 2.cr | 348ms | 10ms | 3.5MB | 337ms | 0ms | crystal 1.11.2 |
go | 1.go | 348ms | 1.1ms | 2.1MB | 340ms | 0ms | tinygo 0.30.0 |
go | 1.go | 364ms | 0.9ms | 3.3MB | 350ms | 0ms | go 1.21.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
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 |
crystal | 1.cr | 380ms | 2.1ms | 42.7MB | 363ms | 0ms | crystal 1.11.2 |
crystal | 2.cr | 381ms | 2.1ms | 8.4MB | 370ms | 0ms | crystal 1.11.2 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
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 |
crystal | 1.cr | 80ms | 1.2ms | 13.3MB | 70ms | 0ms | crystal 1.11.2 |
crystal | 2.cr | 93ms | 0.9ms | 4.8MB | 80ms | 0ms | crystal 1.11.2 |
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 |
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 |
crystal | 1.cr | 3743ms | 15ms | 4.8MB | 3727ms | 0ms | crystal 1.11.2 |
go | 1.go | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | tinygo 0.30.0 |