Current benchmark data was generated on Sat Nov 16 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 | 90ms | 1.4ms | 20.8MB | 73ms | 7ms | wasmtime 25.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 370ms | 5.1ms | 25.5MB | 360ms | 0ms | wasmtime 25.0.3 |
codon | 1.py | 374ms | 2.0ms | 46.6MB | 357ms | 0ms | codon 0.17.0 |
wasm | 1.rs | 468ms | 2.9ms | 57.8MB | 450ms | 3ms | wasmtime 25.0.3 |
codon | 2.py | 856ms | 4.9ms | 99.8MB | 833ms | 20ms | codon 0.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
codon | 1.py | 73ms | 2.7ms | 17.3MB | 60ms | 0ms | codon 0.17.0 |
wasm | 2.rs | 95ms | 2.5ms | 20.0MB | 90ms | 0ms | wasmtime 25.0.3 |
wasm | 1.rs | 95ms | 0.6ms | 28.6MB | 80ms | 3ms | wasmtime 25.0.3 |
codon | 2.py | 197ms | 1.6ms | 25.6MB | 187ms | 3ms | codon 0.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 3591ms | 4.7ms | 18.4MB | 3577ms | 0ms | wasmtime 25.0.3 |
wasm | 7.rs | 4884ms | 13ms | 20.4MB | 4870ms | 0ms | wasmtime 25.0.3 |