benchmark stats change
This commit is contained in:
parent
d7a94c2d57
commit
76516a36dd
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user