Current benchmark data was generated on Sat Jan 28 2023, 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 | 268ms | 0.2ms | 1.0MB | 260ms | 0ms | nim 1.6.10 |
nim | 2.nim | 335ms | 0.2ms | 1.3MB | 327ms | 0ms | nim/clang 1.6.10 |
nim | 1.nim | 779ms | 4.3ms | 1.1MB | 687ms | 73ms | nim 1.6.10 |
nim | 1.nim | 796ms | 1.3ms | 1.2MB | 687ms | 93ms | nim/clang 1.6.10 |
perl | 1.pl | 4480ms | 19ms | 11.1MB | 4463ms | 0ms | perl 5.36.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 32ms | 3.0ms | 1.1MB | 20ms | 0ms | nim 1.6.10 |
nim | 2.nim | 37ms | 2.3ms | 1.3MB | 27ms | 0ms | nim/clang 1.6.10 |
nim | 1.nim | 79ms | 0.1ms | 1.1MB | 57ms | 7ms | nim 1.6.10 |
nim | 1.nim | 83ms | 1.7ms | 1.3MB | 67ms | 3ms | nim/clang 1.6.10 |
perl | 1.pl | 453ms | 0.2ms | 6.7MB | 440ms | 0ms | perl 5.36.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 4118ms | 2.6ms | 1.3MB | 4107ms | 0ms | nim/clang 1.6.10 |
nim | 1.nim | 4118ms | 1.5ms | 1.3MB | 4107ms | 0ms | nim 1.6.10 |
perl | 4.pl | timeout | 0.0ms | 8.2MB | 9867ms | 10ms | perl 5.36.0 |