bench changes
This commit is contained in:
parent
fae4aaab6f
commit
a68e2e093b
@ -19,12 +19,11 @@ fn extend_layers_test(depth: usize) {
|
||||
}
|
||||
|
||||
fn criterion_benchmark(c: &mut Criterion) {
|
||||
const EXPIRE: usize = 4;
|
||||
let mut group = c.benchmark_group(format!("extend_layers (expire {})", EXPIRE));
|
||||
let mut group = c.benchmark_group("extend_layer");
|
||||
group.measurement_time(Duration::from_secs(10));
|
||||
group.sample_size(1000);
|
||||
|
||||
for depth in 4..8 {
|
||||
for depth in 1..8 {
|
||||
// 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| {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user