Current benchmark data was generated on Sun Dec 01 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 | 343ms | 1.8ms | 37.1MB | 323ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 1.rs | 406ms | 1.4ms | 20.8MB | 390ms | 0ms | wasmtime 27.0.0 |
wasm | 2.rs | 552ms | 37ms | 39.3MB | 540ms | 0ms | wasmer/llvm 5.0.2 |
wasm | 2.rs | 576ms | 0.6ms | 20.8MB | 560ms | 0ms | wasmtime 27.0.0 |
codon | 1.py | 1306ms | 9.3ms | 7.7MB | 1293ms | 0ms | codon 0.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 47ms | 0.8ms | 38.4MB | 30ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 1.rs | 49ms | 0.5ms | 20.8MB | 33ms | 3ms | wasmtime 27.0.0 |
wasm | 2.rs | 66ms | 0.8ms | 20.8MB | 50ms | 3ms | wasmtime 27.0.0 |
wasm | 2.rs | 67ms | 3.4ms | 37.4MB | 50ms | 7ms | wasmer/llvm 5.0.2 |
codon | 1.py | 136ms | 1.5ms | 7.7MB | 120ms | 0ms | codon 0.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 351ms | 5.0ms | 42.1MB | 333ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 1.rs | 364ms | 8.8ms | 76.2MB | 350ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 2.rs | 381ms | 11ms | 23.8MB | 370ms | 0ms | wasmtime 27.0.0 |
codon | 1.py | 388ms | 15ms | 46.5MB | 370ms | 3ms | codon 0.17.0 |
wasm | 1.rs | 510ms | 6.0ms | 58.2MB | 490ms | 7ms | wasmtime 27.0.0 |
codon | 2.py | 904ms | 9.6ms | 99.9MB | 880ms | 20ms | codon 0.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 70ms | 1.4ms | 47.0MB | 57ms | 0ms | wasmer/llvm 5.0.2 |
codon | 1.py | 74ms | 3.4ms | 17.3MB | 63ms | 0ms | codon 0.17.0 |
wasm | 2.rs | 95ms | 1.1ms | 38.6MB | 80ms | 0ms | wasmer/llvm 5.0.2 |
wasm | 2.rs | 96ms | 1.1ms | 20.1MB | 80ms | 7ms | wasmtime 27.0.0 |
wasm | 1.rs | 97ms | 1.5ms | 28.7MB | 90ms | 0ms | wasmtime 27.0.0 |
codon | 2.py | 199ms | 0.4ms | 25.7MB | 190ms | 0ms | codon 0.17.0 |