summaryrefslogtreecommitdiff
path: root/crates/benchmarks/benches/selfhosted.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/benchmarks/benches/selfhosted.rs')
-rw-r--r--crates/benchmarks/benches/selfhosted.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/benchmarks/benches/selfhosted.rs b/crates/benchmarks/benches/selfhosted.rs
index 542343e..94dfdce 100644
--- a/crates/benchmarks/benches/selfhosted.rs
+++ b/crates/benchmarks/benches/selfhosted.rs
@@ -55,7 +55,7 @@ const TINYWASM: &[u8] = include_bytes!("../../../examples/rust/out/tinywasm.wasm
fn criterion_benchmark(c: &mut Criterion) {
{
let mut group = c.benchmark_group("selfhosted-parse");
- group.bench_function("tinywasm", |b| b.iter(|| util::wasm_to_twasm(TINYWASM)));
+ group.bench_function("tinywasm", |b| b.iter(|| util::parse_wasm(TINYWASM)));
}
{