We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 878c1ae commit 2de6032Copy full SHA for 2de6032
packages/vm/benches/main.rs
@@ -353,22 +353,22 @@ fn bench_instance_threads(c: &mut Criterion) {
353
});
354
}
355
356
-fn make_config() -> Criterion {
+fn make_config(measurement_time_s: u64) -> Criterion {
357
Criterion::default()
358
.without_plots()
359
- .measurement_time(Duration::new(10, 0))
+ .measurement_time(Duration::new(measurement_time_s, 0))
360
.sample_size(12)
361
.configure_from_args()
362
363
364
criterion_group!(
365
name = instance;
366
- config = make_config();
+ config = make_config(8);
367
targets = bench_instance
368
);
369
370
name = cache;
371
372
targets = bench_cache
373
374
0 commit comments