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 | 1-http2.go | 121ms | 2.2ms | 65.8MB | 333ms | 80ms | go 1.23.3 |
go | 1-m.go | 469ms | 13ms | 178.2MB | 657ms | 693ms | go 1.23.3 |
go | 2-m.go | 471ms | 13ms | 172.3MB | 627ms | 700ms | go 1.23.3 |
dart | 2-m.dart | 1492ms | 15ms | 116.0MB | 1193ms | 1603ms | dart/exe 3.5.4 |
dart | 1.dart | 3955ms | 552ms | 110.6MB | 1253ms | 1483ms | dart/exe 3.5.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 28ms | 3.1ms | 23.0MB | 57ms | 10ms | go 1.23.3 |
go | 1-m.go | 96ms | 6.3ms | 36.5MB | 77ms | 127ms | go 1.23.3 |
go | 2-m.go | 112ms | 12ms | 42.5MB | 93ms | 133ms | go 1.23.3 |
dart | 2-m.dart | 319ms | 9.8ms | 49.8MB | 193ms | 307ms | dart/exe 3.5.4 |
dart | 1.dart | 1827ms | 411ms | 49.9MB | 153ms | 267ms | dart/exe 3.5.4 |
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 |
dart | 2.dart | 162ms | 2.4ms | 9.3MB | 153ms | 0ms | dart/exe 3.5.4 |
dart | 1.dart | 491ms | 6.8ms | 9.5MB | 483ms | 0ms | dart/exe 3.5.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 380ms | 0.4ms | 3.4MB | 370ms | 0ms | go 1.23.3 |
go | 3.go | 391ms | 5.4ms | 2.3MB | 383ms | 0ms | tinygo 0.34.0 |
dart | 2.dart | 472ms | 1.6ms | 9.3MB | 457ms | 3ms | dart/exe 3.5.4 |
dart | 1.dart | 1450ms | 3.8ms | 9.3MB | 1430ms | 7ms | dart/exe 3.5.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 1.dart | 329ms | 3.4ms | 63.5MB | 303ms | 27ms | dart/exe 3.5.4 |
go | 1-m.go | 1640ms | 27ms | 40.9MB | 3297ms | 47ms | go 1.23.3 |
go | 2-m.go | 1886ms | 10ms | 43.0MB | 3980ms | 47ms | go 1.23.3 |
go | 1.go | 1934ms | 5.2ms | 52.1MB | 1923ms | 0ms | tinygo 0.34.0 |
go | 2.go | 3292ms | 35ms | 90.4MB | 3277ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 1.dart | 86ms | 1.2ms | 43.4MB | 60ms | 17ms | dart/exe 3.5.4 |
go | 1-m.go | 365ms | 2.1ms | 14.1MB | 707ms | 20ms | go 1.23.3 |
go | 1.go | 383ms | 2.4ms | 13.4MB | 367ms | 0ms | tinygo 0.34.0 |
go | 2-m.go | 412ms | 1.3ms | 14.1MB | 833ms | 33ms | go 1.23.3 |
go | 2.go | 634ms | 12ms | 29.7MB | 623ms | 0ms | tinygo 0.34.0 |
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 |
go | 1.go | 3680ms | 35ms | 5.4MB | 3673ms | 0ms | go 1.23.3 |
dart | 1.dart | 3848ms | 84ms | 6.4MB | 3837ms | 0ms | dart/exe 3.5.4 |
dart | 2.dart | 4213ms | 3.0ms | 6.1MB | 4203ms | 0ms | dart/exe 3.5.4 |
go | 1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 479ms | 0.2ms | 5.5MB | 1817ms | 3ms | go 1.23.3 |
go | 1.go | 934ms | 5.6ms | 3.4MB | 927ms | 0ms | go 1.23.3 |
dart | 1.dart | 959ms | 8.0ms | 6.1MB | 950ms | 0ms | dart/exe 3.5.4 |
dart | 2.dart | 1064ms | 8.2ms | 6.3MB | 1053ms | 0ms | dart/exe 3.5.4 |
go | 1.go | 1390ms | 1.4ms | 0.4MB | 1380ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 126ms | 0.7ms | 5.4MB | 447ms | 0ms | go 1.23.3 |
go | 1.go | 234ms | 4.3ms | 3.4MB | 223ms | 0ms | go 1.23.3 |
dart | 1.dart | 244ms | 3.4ms | 5.9MB | 233ms | 0ms | dart/exe 3.5.4 |
dart | 2.dart | 274ms | 2.7ms | 6.1MB | 263ms | 0ms | dart/exe 3.5.4 |
go | 1.go | 349ms | 0.1ms | 0.3MB | 340ms | 0ms | tinygo 0.34.0 |