summaryrefslogtreecommitdiff
path: root/crates/benchmarks/benches
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-02-27 01:04:34 +0100
committerHenry Gressmann <mail@henrygressmann.de>2024-02-27 01:04:34 +0100
commite883003b7436708e91d0971b1a8e5f74c8166261 (patch)
treee643797089d1e173e7cbe8b4a84acd6df314f7d5 /crates/benchmarks/benches
parent5e573f0765570e0aaf6c9415b652b25d5bddebd9 (diff)
some new instructuons
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/benchmarks/benches')
-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 94dfdce..1396fd1 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)));
}
}