From 30cb123dcd5ce5961938862637615d16f0094b31 Mon Sep 17 00:00:00 2001 From: "Jiaxiao (mossaka) Zhou" Date: Fri, 6 Dec 2024 17:25:29 +0000 Subject: [PATCH] benches: remove the duplicated sample_size() Signed-off-by: Jiaxiao (mossaka) Zhou --- .../benches/wasi-demo-app-benchmarks.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/benches/containerd-shim-benchmarks/benches/wasi-demo-app-benchmarks.rs b/benches/containerd-shim-benchmarks/benches/wasi-demo-app-benchmarks.rs index a10e6ded6..d3482ab70 100644 --- a/benches/containerd-shim-benchmarks/benches/wasi-demo-app-benchmarks.rs +++ b/benches/containerd-shim-benchmarks/benches/wasi-demo-app-benchmarks.rs @@ -32,7 +32,6 @@ fn run_container(runtime: &str) -> Duration { fn benchmark_startup(c: &mut Criterion) { let mut group = c.benchmark_group("wasi-demo-app"); - group.sample_size(10); // Adjust sample size as needed group.bench_function("wasmtime", |b| { b.iter(|| run_container("wasmtime"));