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 |
dart | 2-m.dart | 1563ms | 1.3ms | 116.0MB | 1247ms | 1637ms | dart/exe 3.5.4 |
dart | 1.dart | 3881ms | 628ms | 110.1MB | 1177ms | 1477ms | dart/exe 3.5.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 22ms | 12ms | 22.7MB | 45ms | 25ms | go 1.23.3 |
go | 2-m.go | 98ms | 17ms | 40.5MB | 73ms | 113ms | go 1.23.3 |
go | 1-m.go | 128ms | 4.8ms | 38.2MB | 83ms | 137ms | go 1.23.3 |
dart | 2-m.dart | 347ms | 3.6ms | 49.6MB | 227ms | 293ms | dart/exe 3.5.4 |
dart | 1.dart | 2192ms | 547ms | 49.5MB | 163ms | 273ms | dart/exe 3.5.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
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 |
dart | 2.dart | 165ms | 2.0ms | 9.4MB | 150ms | 0ms | dart/exe 3.5.4 |
dart | 1.dart | 492ms | 5.5ms | 9.4MB | 480ms | 0ms | dart/exe 3.5.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
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 |
dart | 2.dart | 474ms | 7.2ms | 9.4MB | 460ms | 0ms | dart/exe 3.5.4 |
dart | 1.dart | 1461ms | 15ms | 9.4MB | 1440ms | 10ms | dart/exe 3.5.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
dart | 1.dart | 341ms | 1.5ms | 63.5MB | 323ms | 17ms | dart/exe 3.5.4 |
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 |
---|---|---|---|---|---|---|---|
dart | 1.dart | 88ms | 0.2ms | 43.5MB | 60ms | 20ms | dart/exe 3.5.4 |
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 |
---|---|---|---|---|---|---|---|
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 |
dart | 1.dart | 3829ms | 42ms | 6.0MB | 3817ms | 0ms | dart/exe 3.5.4 |
dart | 2.dart | 4246ms | 12ms | 6.1MB | 4233ms | 0ms | dart/exe 3.5.4 |
go | 1.go | timeout | 0.0ms | 2.3MB | 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 | 3.5ms | 5.5MB | 1820ms | 7ms | go 1.23.3 |
go | 1.go | 922ms | 9.4ms | 3.4MB | 913ms | 0ms | go 1.23.3 |
dart | 1.dart | 968ms | 2.8ms | 6.0MB | 960ms | 0ms | dart/exe 3.5.4 |
dart | 2.dart | 1069ms | 4.7ms | 6.3MB | 1060ms | 0ms | dart/exe 3.5.4 |
go | 1.go | 1392ms | 2.1ms | 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 | 2.3ms | 5.4MB | 437ms | 3ms | go 1.23.3 |
go | 1.go | 235ms | 4.7ms | 3.4MB | 227ms | 0ms | go 1.23.3 |
dart | 1.dart | 247ms | 1.7ms | 5.9MB | 237ms | 0ms | dart/exe 3.5.4 |
dart | 2.dart | 274ms | 2.0ms | 6.1MB | 260ms | 0ms | dart/exe 3.5.4 |
go | 1.go | 350ms | 0.2ms | 0.3MB | 340ms | 0ms | tinygo 0.34.0 |