benchmark stats change

This commit is contained in:
Simon Gardling 2025-02-19 14:09:14 -05:00
parent d7a94c2d57
commit 76516a36dd
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -11,7 +11,8 @@ fn extend_layers_test(depth: usize, expire: usize) {
fn criterion_benchmark(c: &mut Criterion) {
const EXPIRE: usize = 4;
let mut group = c.benchmark_group(format!("extend_layers (expire {})", EXPIRE));
group.measurement_time(Duration::from_secs(10));
group.measurement_time(Duration::from_secs(60));
group.sample_size(10000);
for (depth, expire) in (2..6).zip([EXPIRE].into_iter().cycle()) {
group.throughput(Throughput::Elements(depth as u64));