Skip to content

Commit 2b47f62

Browse files
committed
test: reduce archive benchmark sample size to 10
1 parent 086d40e commit 2b47f62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

postgresql_archive/benches/archive.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ fn extract_archive(archive: &Bytes) -> Result<()> {
3333
criterion_group!(
3434
name = benches;
3535
config = Criterion::default()
36-
.measurement_time(Duration::from_secs(30));
36+
.measurement_time(Duration::from_secs(30))
37+
.sample_size(10);
3738
targets = benchmarks
3839
);
3940
criterion_main!(benches);

0 commit comments

Comments
 (0)