diff --git a/benches/future_children.rs b/benches/future_children.rs index fcc4ed3..010393e 100644 --- a/benches/future_children.rs +++ b/benches/future_children.rs @@ -1,4 +1,4 @@ -use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; +use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; use othello::{board::Board, future_moves::FutureMoves, piece::Piece}; use std::time::Duration; @@ -15,7 +15,8 @@ fn criterion_benchmark(c: &mut Criterion) { group.sample_size(10000); for (depth, expire) in (2..6).zip([EXPIRE].into_iter().cycle()) { - group.throughput(Throughput::Elements(depth as u64)); + // 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| { b.iter(|| extend_layers_test(*depth, expire)); });