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 |
---|---|---|---|---|---|---|---|
wasm | 5.rs | 1721ms | 55ms | 34.9MB | 1707ms | 0ms | wasmtime 28.0.0 |
wasm | 3.rs | 1751ms | 19ms | 52.9MB | 1727ms | 13ms | wasmtime 28.0.0 |
wasm | 4.rs | 1758ms | 1.3ms | 34.9MB | 1733ms | 10ms | wasmtime 28.0.0 |
swift | 1.swift | 2572ms | 20ms | 53.9MB | 2543ms | 13ms | swift 6.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 3.rs | 169ms | 2.4ms | 22.9MB | 153ms | 3ms | wasmtime 28.0.0 |
wasm | 5.rs | 170ms | 5.5ms | 21.0MB | 157ms | 3ms | wasmtime 28.0.0 |
wasm | 4.rs | 172ms | 2.6ms | 21.2MB | 157ms | 0ms | wasmtime 28.0.0 |
swift | 1.swift | 236ms | 3.1ms | 11.9MB | 220ms | 0ms | swift 6.0.3 |