diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-02-25 17:51:41 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-02-25 17:51:41 +0100 |
| commit | 062515c39154b29bb0406b207e3c67bae399a449 (patch) | |
| tree | 722520f15d62714c003f8dad36651d30ffba4e47 /crates/benchmarks/benches/selfhosted.rs | |
| parent | a0368bc39ac620b867a105ca0c9bc12824abcd9d (diff) | |
feat: new parser architecture
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/benchmarks/benches/selfhosted.rs')
| -rw-r--r-- | crates/benchmarks/benches/selfhosted.rs | 2 |
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))); } { |
