Run preprocessing on benchmarks and fix deadlock (#3230)

This commit is contained in:
Dennis Kobert
2025-09-27 12:36:29 +02:00
committed by GitHub
parent ffc74273cc
commit 84e44810d2
8 changed files with 14 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ fn update_executor(c: &mut Criterion) {
let executor = futures::executor::block_on(DynamicExecutor::new(empty)).unwrap();
(executor, proto_network)
},
|(mut executor, network)| futures::executor::block_on(executor.update(criterion::black_box(network))),
|(mut executor, network)| futures::executor::block_on(executor.update(std::hint::black_box(network))),
criterion::BatchSize::SmallInput,
)
});