From 893e72e93d1739ffa6b9d945a4f1e0ec525f782f Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Fri, 26 Jan 2024 23:08:38 +0100 Subject: chore: benchmarking + major performance improvements (50%+ faster) Signed-off-by: Henry Gressmann --- Cargo.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 13a9397..20674d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,21 @@ edition="2021" name="wasm-rust" test=false +[[bench]] +name="selfhosted" +harness=false + +[profile.bench] +opt-level=3 +lto="thin" +codegen-units=1 +debug=true + [dev-dependencies] color-eyre="0.6" +criterion={version="0.5", features=["html_reports"]} + tinywasm={path="crates/tinywasm"} +wasmi={version="0.31", features=["std"]} +wasmer={version="4.2", features=["cranelift", "singlepass"]} +wasmtime={version="17.0", features=["cranelift"]} -- cgit v1.3.1