clean
This commit is contained in:
@@ -11,10 +11,10 @@ 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(60));
|
||||
group.sample_size(10000);
|
||||
group.measurement_time(Duration::from_secs(10));
|
||||
group.sample_size(1000);
|
||||
|
||||
for (depth, expire) in (2..6).zip([EXPIRE].into_iter().cycle()) {
|
||||
for (depth, expire) in (4..8).zip([EXPIRE].into_iter().cycle()) {
|
||||
// TODO! maybe somehow get throughput from `extend_layers`?
|
||||
// group.throughput(Throughput::Elements(depth as u64));
|
||||
group.bench_with_input(BenchmarkId::from_parameter(depth), &depth, |b, depth| {
|
||||
|
||||
Reference in New Issue
Block a user