Current benchmark data was generated on Wed May 25 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 |
---|---|---|---|---|---|---|---|
cpp | 7-m.cpp | 885ms | 14ms | 3.2MB | 1717ms | 0ms | clang++ 11.0.0 |
cpp | 8-m.cpp | 885ms | 14ms | 3.2MB | 1723ms | 0ms | clang++ 11.0.0 |
cpp | 7-m.cpp | 886ms | 13ms | 1.0MB | 1707ms | 0ms | g++ 12.1.0 |
cpp | 8-m.cpp | 905ms | 2.6ms | 0.9MB | 1763ms | 0ms | g++ 12.1.0 |
cpp | 6-im.cpp | 1804ms | 22ms | 3.2MB | 3530ms | 10ms | clang++ 11.0.0 |
cpp | 6-im.cpp | 1808ms | 11ms | 0.9MB | 3423ms | 7ms | g++ 12.1.0 |
elixir | 1.ex | timeout | 0.0ms | 0.0MB | 0ms | 0ms | elixir 12.3.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
cpp | 7-m.cpp | 226ms | 6.2ms | 3.2MB | 413ms | 0ms | clang++ 11.0.0 |
cpp | 7-m.cpp | 230ms | 6.3ms | 1.0MB | 420ms | 0ms | g++ 12.1.0 |
cpp | 8-m.cpp | 232ms | 6.2ms | 3.1MB | 433ms | 0ms | clang++ 11.0.0 |
cpp | 8-m.cpp | 236ms | 1.3ms | 1.0MB | 440ms | 0ms | g++ 12.1.0 |
cpp | 6-im.cpp | 462ms | 2.2ms | 1.0MB | 877ms | 0ms | g++ 12.1.0 |
cpp | 6-im.cpp | 470ms | 2.8ms | 3.2MB | 897ms | 0ms | clang++ 11.0.0 |
elixir | 1.ex | timeout | 0.0ms | 0.0MB | 0ms | 0ms | elixir 12.3.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
cpp | 7-m.cpp | 63ms | 1.6ms | 3.1MB | 103ms | 0ms | clang++ 11.0.0 |
cpp | 7-m.cpp | 63ms | 1.3ms | 0.9MB | 103ms | 0ms | g++ 12.1.0 |
cpp | 8-m.cpp | 65ms | 1.8ms | 3.2MB | 110ms | 0ms | clang++ 11.0.0 |
cpp | 8-m.cpp | 67ms | 1.8ms | 1.0MB | 110ms | 0ms | g++ 12.1.0 |
cpp | 6-im.cpp | 123ms | 2.8ms | 0.9MB | 220ms | 0ms | g++ 12.1.0 |
cpp | 6-im.cpp | 127ms | 3.0ms | 3.1MB | 223ms | 0ms | clang++ 11.0.0 |
elixir | 1.ex | timeout | 0.0ms | 0.0MB | 0ms | 0ms | elixir 12.3.2 |