Current benchmark data was generated on Mon Dec 30 2024, 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 |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 653ms | 2.8ms | 3.5MB | 2430ms | 0ms | zig 0.13.0 |
zig | 3-i.zig | 1789ms | 1.5ms | 1.1MB | 1780ms | 0ms | zig 0.13.0 |
zig | 2.zig | 2410ms | 17ms | 1.1MB | 2397ms | 0ms | zig 0.13.0 |
dart | 2.dart | 2754ms | 38ms | 6.1MB | 2743ms | 0ms | dart/exe 3.6.0 |
zig | 1.zig | 2865ms | 5.6ms | 1.1MB | 2853ms | 0ms | zig 0.13.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 63ms | 0.4ms | 3.5MB | 190ms | 0ms | zig 0.13.0 |
zig | 3-i.zig | 149ms | 0.3ms | 1.1MB | 140ms | 0ms | zig 0.13.0 |
zig | 2.zig | 199ms | 2.5ms | 1.1MB | 187ms | 0ms | zig 0.13.0 |
dart | 2.dart | 225ms | 2.9ms | 6.0MB | 213ms | 0ms | dart/exe 3.6.0 |
zig | 1.zig | 239ms | 0.4ms | 1.1MB | 230ms | 0ms | zig 0.13.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 1.zig | 36ms | 2.0ms | 2.9MB | 27ms | 0ms | zig 0.13.0 |
dart | 2.dart | 166ms | 1.7ms | 9.1MB | 153ms | 3ms | dart/exe 3.6.0 |
dart | 1.dart | 511ms | 2.3ms | 9.1MB | 490ms | 7ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 472ms | 1.1ms | 3.8MB | 1593ms | 0ms | zig 0.13.0 |
zig | 2.zig | 916ms | 0.9ms | 1.5MB | 900ms | 0ms | zig 0.13.0 |
zig | 1.zig | 3661ms | 1.6ms | 1.5MB | 3650ms | 0ms | zig 0.13.0 |
dart | 1.dart | 3755ms | 29ms | 6.3MB | 3740ms | 0ms | dart/exe 3.6.0 |
dart | 2.dart | 4360ms | 24ms | 6.5MB | 4350ms | 0ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 125ms | 0.2ms | 3.7MB | 280ms | 3ms | zig 0.13.0 |
zig | 2.zig | 231ms | 2.4ms | 1.4MB | 220ms | 0ms | zig 0.13.0 |
zig | 1.zig | 918ms | 3.2ms | 1.4MB | 910ms | 0ms | zig 0.13.0 |
dart | 1.dart | 937ms | 4.0ms | 6.1MB | 923ms | 0ms | dart/exe 3.6.0 |
dart | 2.dart | 1091ms | 5.2ms | 6.4MB | 1083ms | 0ms | dart/exe 3.6.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 39ms | 1.1ms | 3.7MB | 30ms | 0ms | zig 0.13.0 |
zig | 2.zig | 59ms | 0.6ms | 1.4MB | 50ms | 0ms | zig 0.13.0 |
zig | 1.zig | 233ms | 1.9ms | 1.4MB | 223ms | 0ms | zig 0.13.0 |
dart | 1.dart | 240ms | 3.0ms | 6.1MB | 233ms | 0ms | dart/exe 3.6.0 |
dart | 2.dart | 278ms | 3.3ms | 6.3MB | 267ms | 0ms | dart/exe 3.6.0 |