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 |
---|---|---|---|---|---|---|---|
swift | 7.swift | 426ms | 0.4ms | 5.4MB | 417ms | 0ms | swift 5.6.1 |
csharp | 9.cs | 438ms | 9.0ms | 29.3MB | 410ms | 0ms | dotnet 6.0.300 |
csharp | 8.cs | 537ms | 3.7ms | 29.1MB | 503ms | 3ms | dotnet 6.0.300 |
csharp | 8.cs | 1110ms | 1.7ms | 27.0MB | 1097ms | 0ms | mono 6.12.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 7.swift | 55ms | 14ms | 5.4MB | 40ms | 0ms | swift 5.6.1 |
csharp | 9.cs | 95ms | 4.6ms | 29.2MB | 67ms | 0ms | dotnet 6.0.300 |
csharp | 8.cs | 101ms | 4.9ms | 31.2MB | 77ms | 0ms | dotnet 6.0.300 |
csharp | 8.cs | 135ms | 4.1ms | 27.0MB | 123ms | 0ms | mono 6.12.0 |