Current benchmark data was generated on Thu Dec 26 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 | 184ms | 1.7ms | 1.5MB | 167ms | 3ms | nim 2.2.0 |
nim | 2.nim | 238ms | 2.5ms | 1.8MB | 230ms | 0ms | nim/clang 2.2.0 |
dart | 1.dart | 362ms | 4.0ms | 8.9MB | 350ms | 0ms | dart/exe 3.6.0 |
nim | 1.nim | 569ms | 1.2ms | 1.8MB | 447ms | 107ms | nim/clang 2.2.0 |
nim | 1.nim | 601ms | 6.4ms | 1.5MB | 473ms | 110ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 21ms | 0.3ms | 1.5MB | 10ms | 0ms | nim 2.2.0 |
nim | 2.nim | 26ms | 0.2ms | 1.8MB | 20ms | 0ms | nim/clang 2.2.0 |
dart | 1.dart | 42ms | 0.5ms | 8.8MB | 33ms | 0ms | dart/exe 3.6.0 |
nim | 1.nim | 60ms | 0.6ms | 1.8MB | 40ms | 7ms | nim/clang 2.2.0 |
nim | 1.nim | 62ms | 0.9ms | 1.5MB | 47ms | 3ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 1022ms | 36ms | 98.7MB | 287ms | 703ms | nim 2.2.0 |
nim | 1.nim | 1047ms | 8.3ms | 98.9MB | 273ms | 747ms | nim/clang 2.2.0 |
dart | 2-m.dart | 1493ms | 15ms | 115.8MB | 1150ms | 1607ms | dart/exe 3.6.0 |
dart | 1.dart | 4313ms | 195ms | 118.9MB | 1230ms | 1553ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 163ms | 1.6ms | 18.1MB | 40ms | 110ms | nim 2.2.0 |
nim | 1.nim | 165ms | 3.8ms | 18.3MB | 40ms | 107ms | nim/clang 2.2.0 |
dart | 2-m.dart | 309ms | 8.5ms | 50.0MB | 203ms | 293ms | dart/exe 3.6.0 |
dart | 1.dart | 1340ms | 116ms | 49.9MB | 153ms | 253ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 110ms | 0.6ms | 1.6MB | 100ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 114ms | 1.9ms | 1.4MB | 103ms | 0ms | nim 2.2.0 |
dart | 2.dart | 163ms | 2.7ms | 9.3MB | 150ms | 0ms | dart/exe 3.6.0 |
dart | 1.dart | 511ms | 5.2ms | 9.1MB | 493ms | 0ms | dart/exe 3.6.0 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 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 | 323ms | 0.9ms | 1.6MB | 313ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 339ms | 2.7ms | 1.4MB | 330ms | 0ms | nim 2.2.0 |
dart | 2.dart | 473ms | 6.0ms | 9.1MB | 463ms | 0ms | dart/exe 3.6.0 |
dart | 1.dart | 1527ms | 12ms | 9.1MB | 1503ms | 10ms | dart/exe 3.6.0 |
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 | 48ms | 1.1ms | 1.5MB | 40ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 51ms | 0.4ms | 1.3MB | 40ms | 0ms | nim 2.2.0 |
dart | 2.dart | 75ms | 0.3ms | 9.4MB | 67ms | 0ms | dart/exe 3.6.0 |
dart | 1.dart | 121ms | 9.8ms | 9.0MB | 110ms | 0ms | dart/exe 3.6.0 |
nim | 1.nim | 481ms | 2.8ms | 1.5MB | 470ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 487ms | 4.3ms | 1.3MB | 477ms | 0ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3574ms | 1.5ms | 1.6MB | 3560ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 3592ms | 5.1ms | 1.4MB | 3583ms | 0ms | nim 2.2.0 |
dart | 1.dart | 3742ms | 9.1ms | 6.4MB | 3730ms | 0ms | dart/exe 3.6.0 |
dart | 2.dart | 4346ms | 17ms | 6.3MB | 4333ms | 0ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 895ms | 0.6ms | 1.5MB | 883ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 900ms | 4.6ms | 1.3MB | 893ms | 0ms | nim 2.2.0 |
dart | 1.dart | 939ms | 2.8ms | 6.3MB | 927ms | 0ms | dart/exe 3.6.0 |
dart | 2.dart | 1097ms | 4.9ms | 6.3MB | 1087ms | 0ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 226ms | 0.3ms | 1.5MB | 217ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 228ms | 2.2ms | 1.3MB | 220ms | 0ms | nim 2.2.0 |
dart | 1.dart | 242ms | 2.8ms | 6.3MB | 233ms | 0ms | dart/exe 3.6.0 |
dart | 2.dart | 280ms | 1.9ms | 6.1MB | 267ms | 0ms | dart/exe 3.6.0 |