Current benchmark data was generated on Wed Jan 22 2025, 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 |
---|---|---|---|---|---|---|---|
codon | 1.py | 368ms | 5.0ms | 46.5MB | 357ms | 0ms | codon 0.17.0 |
wasm | 2.rs | 370ms | 9.0ms | 24.2MB | 357ms | 0ms | wasmtime 29.0.1 |
wasm | 1.rs | 471ms | 3.2ms | 58.5MB | 453ms | 3ms | wasmtime 29.0.1 |
codon | 2.py | 848ms | 3.7ms | 100.0MB | 830ms | 13ms | codon 0.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
codon | 1.py | 71ms | 1.3ms | 15.3MB | 60ms | 0ms | codon 0.17.0 |
wasm | 2.rs | 93ms | 1.0ms | 22.5MB | 80ms | 3ms | wasmtime 29.0.1 |
wasm | 1.rs | 97ms | 3.2ms | 29.2MB | 87ms | 0ms | wasmtime 29.0.1 |
codon | 2.py | 198ms | 1.5ms | 25.9MB | 187ms | 3ms | codon 0.17.0 |