Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

edgee-cloud/wasm-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-benchmark

Prerequisites

Since some of our WebAssembly bytecode are written in Rust, you will need a Rust compiler. Make sure that you install the wasm32-wasi compiler target as follows, in order to generate WebAssembly bytecode.

rustup target add wasm32-wasi

Since some of our WebAssembly bytecode are written in Rust for Wasmer (wasix standard), you will need a wasix compiler.

cargo install cargo-wasix

Build all the wasm bytecodes

make build

Run each wasm bytecode and launch the benchmark

make run-rust
# then, open a new terminal and run
make siege

Do the same with run-rust-old, make run-go, make make run-go-old, make run-rust-wasmer, make run-rust-wasmedge and make run-rust-wash.

After the last one, don't forget to run wash down to stop the wasmcloud host.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published