Current benchmark data was generated on Mon Mar 31 2025, 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 | 189ms | 2.4ms | 1.5MB | 177ms | 0ms | nim 2.2.2 |
nim | 2.nim | 237ms | 2.8ms | 1.8MB | 227ms | 0ms | nim/clang 2.2.2 |
dart | 1.dart | 360ms | 2.9ms | 8.6MB | 350ms | 0ms | dart/exe 3.7.2 |
nim | 1.nim | 553ms | 0.6ms | 1.8MB | 447ms | 90ms | nim/clang 2.2.2 |
nim | 1.nim | 579ms | 2.1ms | 1.5MB | 477ms | 87ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 21ms | 0.0ms | 1.5MB | 10ms | 0ms | nim 2.2.2 |
nim | 2.nim | 26ms | 0.2ms | 1.8MB | 20ms | 0ms | nim/clang 2.2.2 |
dart | 1.dart | 42ms | 0.3ms | 8.6MB | 30ms | 0ms | dart/exe 3.7.2 |
nim | 1.nim | 59ms | 1.2ms | 1.8MB | 40ms | 10ms | nim/clang 2.2.2 |
nim | 1.nim | 61ms | 0.5ms | 1.5MB | 40ms | 7ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 111ms | 1.6ms | 1.6MB | 100ms | 0ms | nim/clang 2.2.2 |
nim | 2.nim | 113ms | 2.6ms | 1.4MB | 103ms | 0ms | nim 2.2.2 |
dart | 2.dart | 170ms | 1.9ms | 9.4MB | 160ms | 0ms | dart/exe 3.7.2 |
dart | 1.dart | 492ms | 1.7ms | 9.1MB | 480ms | 0ms | dart/exe 3.7.2 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 324ms | 1.9ms | 1.6MB | 313ms | 0ms | nim/clang 2.2.2 |
nim | 2.nim | 326ms | 1.9ms | 1.6MB | 320ms | 0ms | nim 2.2.2 |
dart | 2.dart | 484ms | 3.7ms | 9.3MB | 470ms | 0ms | dart/exe 3.7.2 |
dart | 1.dart | 1462ms | 8.8ms | 9.3MB | 1447ms | 3ms | dart/exe 3.7.2 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 50ms | 1.1ms | 1.3MB | 40ms | 0ms | nim 2.2.2 |
nim | 2.nim | 50ms | 0.7ms | 1.6MB | 40ms | 0ms | nim/clang 2.2.2 |
dart | 2.dart | 77ms | 1.6ms | 8.9MB | 70ms | 0ms | dart/exe 3.7.2 |
dart | 1.dart | 110ms | 0.5ms | 8.8MB | 100ms | 0ms | dart/exe 3.7.2 |
nim | 1.nim | 440ms | 2.2ms | 1.5MB | 430ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 481ms | 0.8ms | 1.3MB | 470ms | 0ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3590ms | 1.4ms | 1.6MB | 3580ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 3596ms | 7.0ms | 1.9MB | 3583ms | 0ms | nim 2.2.2 |
dart | 1.dart | 3773ms | 14ms | 6.4MB | 3763ms | 0ms | dart/exe 3.7.2 |
dart | 2.dart | 4338ms | 5.9ms | 6.4MB | 4327ms | 0ms | dart/exe 3.7.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 899ms | 0.8ms | 1.5MB | 890ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 901ms | 1.6ms | 1.3MB | 890ms | 0ms | nim 2.2.2 |
dart | 1.dart | 944ms | 2.2ms | 6.3MB | 930ms | 0ms | dart/exe 3.7.2 |
dart | 2.dart | 1088ms | 11ms | 6.1MB | 1080ms | 0ms | dart/exe 3.7.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 227ms | 0.3ms | 1.5MB | 220ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 229ms | 1.2ms | 1.3MB | 220ms | 0ms | nim 2.2.2 |
dart | 1.dart | 241ms | 2.5ms | 6.3MB | 230ms | 0ms | dart/exe 3.7.2 |
dart | 2.dart | 285ms | 8.1ms | 6.3MB | 273ms | 0ms | dart/exe 3.7.2 |