Skip to content

Commit 7ca9de7

Browse files
committed
build: decrease benchmark sample size
1 parent 388e37e commit 7ca9de7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/vm/benches/bench.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@ pub fn book_repo_benchmarks(c: &mut Criterion) {
1919
}
2020
}
2121

22-
criterion_group!(benches, book_repo_benchmarks);
22+
criterion_group! {
23+
name = benches;
24+
// Running the book benchmarks takes a few seconds, so use a low sample size
25+
config = Criterion::default().sample_size(10);
26+
targets = book_repo_benchmarks
27+
}
2328
criterion_main!(benches);

0 commit comments

Comments
 (0)