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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 188ms | 0.7ms | 1.5MB | 177ms | 0ms | nim 2.2.0 |
nim | 2.nim | 239ms | 2.9ms | 1.8MB | 227ms | 0ms | nim/clang 2.2.0 |
dart | 1.dart | 365ms | 4.4ms | 9.1MB | 347ms | 0ms | dart/exe 3.5.4 |
nim | 1.nim | 569ms | 1.0ms | 1.8MB | 433ms | 123ms | nim/clang 2.2.0 |
nim | 1.nim | 596ms | 1.0ms | 1.5MB | 467ms | 113ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 21ms | 0.6ms | 1.5MB | 10ms | 0ms | nim 2.2.0 |
nim | 2.nim | 26ms | 0.4ms | 1.6MB | 17ms | 0ms | nim/clang 2.2.0 |
dart | 1.dart | 44ms | 1.6ms | 8.4MB | 33ms | 3ms | dart/exe 3.5.4 |
nim | 1.nim | 60ms | 1.1ms | 1.8MB | 40ms | 7ms | nim/clang 2.2.0 |
nim | 1.nim | 63ms | 1.0ms | 1.5MB | 43ms | 7ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 996ms | 14ms | 99.4MB | 277ms | 693ms | nim/clang 2.2.0 |
nim | 1.nim | 1015ms | 23ms | 99.2MB | 290ms | 693ms | nim 2.2.0 |
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 |
---|---|---|---|---|---|---|---|
nim | 1.nim | 159ms | 2.7ms | 17.8MB | 37ms | 103ms | nim 2.2.0 |
nim | 1.nim | 166ms | 6.9ms | 18.1MB | 37ms | 113ms | nim/clang 2.2.0 |
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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 110ms | 2.7ms | 1.6MB | 100ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 116ms | 2.9ms | 1.3MB | 107ms | 0ms | nim 2.2.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 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4987ms | 0ms | nim 2.2.0 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 322ms | 3.0ms | 1.9MB | 313ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 335ms | 1.0ms | 1.3MB | 323ms | 0ms | nim 2.2.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 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4987ms | 0ms | nim 2.2.0 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 49ms | 1.7ms | 1.5MB | 40ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 51ms | 0.5ms | 1.3MB | 40ms | 0ms | nim 2.2.0 |
dart | 2.dart | 79ms | 4.7ms | 9.4MB | 70ms | 0ms | dart/exe 3.5.4 |
dart | 1.dart | 115ms | 0.9ms | 9.4MB | 100ms | 0ms | dart/exe 3.5.4 |
nim | 1.nim | 489ms | 3.0ms | 1.5MB | 480ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 490ms | 1.1ms | 1.3MB | 480ms | 0ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3574ms | 1.3ms | 1.6MB | 3563ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 3593ms | 7.6ms | 1.4MB | 3583ms | 0ms | nim 2.2.0 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 896ms | 0.8ms | 1.5MB | 887ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 904ms | 3.3ms | 1.3MB | 893ms | 0ms | nim 2.2.0 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 226ms | 0.6ms | 1.5MB | 213ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 228ms | 1.3ms | 1.3MB | 220ms | 0ms | nim 2.2.0 |
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 |