Current benchmark data was generated on Fri May 20 2022, 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 |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 63ms | 2.1ms | 5.0MB | 50ms | 0ms | crystal 1.4.1 |
crystal | 1.cr | 108ms | 1.8ms | 3.0MB | 100ms | 0ms | crystal 1.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 175ms | 1.0ms | 3.0MB | 163ms | 0ms | crystal 1.4.1 |
crystal | 1.cr | 313ms | 0.4ms | 3.1MB | 300ms | 0ms | crystal 1.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 32ms | 2.1ms | 3.1MB | 20ms | 0ms | crystal 1.4.1 |
crystal | 1.cr | 55ms | 1.2ms | 5.1MB | 47ms | 0ms | crystal 1.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | timeout | 0.0ms | 0.0MB | 0ms | 0ms | crystal 1.4.1 |
elixir | 1.ex | timeout | 0.0ms | 0.0MB | 0ms | 0ms | elixir 12.3.2 |