Skip to content

Commit a8a16bc

Browse files
committed
Add a microbenchmark for compile-time builtins
1 parent 7051ab3 commit a8a16bc

File tree

3 files changed

+708
-0
lines changed

3 files changed

+708
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ pulley-interpreter = { workspace = true, features = ["disas"] }
131131
wasm-encoder = { workspace = true }
132132
cranelift-native = { workspace = true }
133133
futures = { workspace = true }
134+
rand = { workspace = true }
134135

135136
# Should only be used for tests that are explicitly testing `anyhow::Error` and
136137
# `wasmtime::Error` integration and conversion. Otherwise, always prefer to use
@@ -626,6 +627,10 @@ required-features = ["wasi-common/tokio"]
626627
name = "compile"
627628
harness = false
628629

630+
[[bench]]
631+
name = "compile_time_builtins"
632+
harness = false
633+
629634
[[bench]]
630635
name = "instantiation"
631636
harness = false

0 commit comments

Comments
 (0)