summaryrefslogtreecommitdiff
path: root/crates/benchmarks/benches/selfhosted.rs
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-02-27 14:35:40 +0100
committerHenry Gressmann <mail@henrygressmann.de>2024-02-27 14:35:40 +0100
commit4faaf5bb222947a95b854d733a3cbe3bf588b597 (patch)
treee5c5828662eb44fca76e4fa04835c46879ae1ad6 /crates/benchmarks/benches/selfhosted.rs
parent83a768d77ac57f5d8e8884173765e0efc80831f4 (diff)
reduce instruction enum size even more
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/benchmarks/benches/selfhosted.rs')
-rw-r--r--crates/benchmarks/benches/selfhosted.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/benchmarks/benches/selfhosted.rs b/crates/benchmarks/benches/selfhosted.rs
index 1396fd1..94dfdce 100644
--- a/crates/benchmarks/benches/selfhosted.rs
+++ b/crates/benchmarks/benches/selfhosted.rs
@@ -61,10 +61,10 @@ fn criterion_benchmark(c: &mut Criterion) {
{
let twasm = util::wasm_to_twasm(TINYWASM);
let mut group = c.benchmark_group("selfhosted");
- // group.bench_function("native", |b| b.iter(run_native));
+ group.bench_function("native", |b| b.iter(run_native));
group.bench_function("tinywasm", |b| b.iter(|| run_tinywasm(&twasm)));
- // group.bench_function("wasmi", |b| b.iter(|| run_wasmi(TINYWASM)));
- // group.bench_function("wasmer", |b| b.iter(|| run_wasmer(TINYWASM)));
+ group.bench_function("wasmi", |b| b.iter(|| run_wasmi(TINYWASM)));
+ group.bench_function("wasmer", |b| b.iter(|| run_wasmer(TINYWASM)));
}
}