summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-01-26 23:08:38 +0100
committerHenry Gressmann <mail@henrygressmann.de>2024-01-26 23:08:38 +0100
commit893e72e93d1739ffa6b9d945a4f1e0ec525f782f (patch)
tree1a6c1b1368eb5a733c40633bb9ef52dd9d850003 /Cargo.toml
parent1f6ac248e106f77dee20af26567c61b2a35b75ba (diff)
chore: benchmarking + major performance improvements (50%+ faster)
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml15
1 files changed, 15 insertions, 0 deletions
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"]}