All Projects → wasmerio → wasmer-bench

wasmerio / wasmer-bench

Licence: other
This is a repo for benchmarking Wasmer (compilation & runtime)

Programming Languages

rust
11053 projects
python
139335 projects - #7 most used programming language

Wasm Bench

The purpose of this project is to measure and compare performance of WebAssembly runtimes.

Install dependencies

First, you will need to install Rust in your system. You can follow the instructions here: https://rustup.rs/

Then, you will need to install Rust Nightly and the wasm32-unknown-unknown target.

# Install nightly
rustup install nightly

# Install wasm32-unknown-unknown target
rustup target add wasm32-unknown-unknown --toolchain nightly

Update to latest Wasmer

cargo update

Build & Run

# Build the benchmarks in wasm
cd benchmarks && cargo +nightly build --release --target wasm32-unknown-unknown && cd ..

# Run the benchmarks
cargo +nightly bench
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].