Current benchmark data was generated on Tue Dec 31 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 |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 81ms | 1.3ms | 19.2MB | 70ms | 0ms | wasmtime 28.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 308ms | 3.3ms | 23.9MB | 300ms | 0ms | wasmtime 28.0.0 |
codon | 1.py | 348ms | 9.8ms | 46.5MB | 333ms | 0ms | codon 0.17.0 |
wasm | 1.rs | 437ms | 1.5ms | 58.0MB | 417ms | 3ms | wasmtime 28.0.0 |
codon | 2.py | 805ms | 5.6ms | 99.9MB | 790ms | 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 | 57ms | 0ms | codon 0.17.0 |
wasm | 2.rs | 80ms | 0.2ms | 23.9MB | 70ms | 0ms | wasmtime 28.0.0 |
wasm | 1.rs | 90ms | 2.3ms | 28.7MB | 77ms | 3ms | wasmtime 28.0.0 |
codon | 2.py | 185ms | 0.8ms | 25.8MB | 170ms | 3ms | codon 0.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 3400ms | 18ms | 18.6MB | 3387ms | 0ms | wasmtime 28.0.0 |
wasm | 7.rs | 4694ms | 77ms | 18.6MB | 4683ms | 0ms | wasmtime 28.0.0 |