Skip to content

Commit

Permalink
Faster benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
d-e-s-o committed Jul 21, 2023
1 parent dc72c90 commit e2ee00d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benches/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ use criterion::Criterion;

fn benchmark(c: &mut Criterion) {
let mut group = c.benchmark_group("main");
group.sample_size(500);
group.warm_up_time(Duration::from_secs(5));
group.warm_up_time(Duration::from_secs(1));
group.confidence_level(0.98);
group.significance_level(0.02);
inspect::benchmark(&mut group);
Expand Down

0 comments on commit e2ee00d

Please sign in to comment.