disable bench throughput thing
This commit is contained in:
parent
16e453ddc9
commit
66364a5e9d
@ -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));
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user