-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
67 lines (57 loc) · 1.46 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "wasmi-benchmarks"
version = "0.1.0"
edition = "2021"
resolver = "2"
default-run = "coremark"
[workspace]
members = [
"benches/res/rust/*"
]
[[bin]]
name = "coremark"
path = "src/coremark.rs"
[[bin]]
name = "plot"
path = "src/plot.rs"
[dependencies]
wasmi_old = { package = "wasmi", version = "0.31.2" }
wasmi_new = { package = "wasmi", version = "0.40.0" }
tinywasm = "0.8.0"
wasmer = { version = "5.0", default-features = false, features = ["engine", "compiler"] }
wasmer-compiler-singlepass = "5.0"
wasmer-compiler-cranelift = "5.0"
wasmtime = { version = "27.0.0", default-features = false, features = ["winch", "cranelift", "runtime"] }
makepad-stitch = "0.1.0"
criterion = "0.5"
wat = "1"
serde_json = "1.0.117"
plotters = "0.3.7"
[dependencies.wasm3]
git = "https://github.com/robbepop/wasm3-rs.git"
branch = "rf-fix-wasm3-rs"
features = ["build-bindgen"]
[[bench]]
name = "criterion"
harness = false
[profile.bench]
# debug = true
lto = "fat"
codegen-units = 1
[profile.dev]
opt-level = 1 # required for the stitch Wasm runtime's LLVM's sibling calls optimization
[profile.wasm]
# The profile used to build Rust based benchmark inputs to WebAssembly.
inherits = "release"
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
[profile.ci]
# The profile with which we compile the criterion
# benchmark runner and subsequently all Wasm runtimes
# when running them in the GitHub Actions CI.
inherits = "release"
opt-level = 3
lto = "thin"
codegen-units = 2