From 062515c39154b29bb0406b207e3c67bae399a449 Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Sun, 25 Feb 2024 17:51:41 +0100 Subject: feat: new parser architecture Signed-off-by: Henry Gressmann --- crates/benchmarks/benches/selfhosted.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/benchmarks/benches/selfhosted.rs') 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))); } { -- cgit v1.3.1