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
@@ -10,7 +10,7 @@ fn subsequent_evaluations(c: &mut Criterion) {
bench_for_each_demo(&mut group, |name, g| {
let (executor, _) = setup_network(name);
g.bench_function(name, |b| {
b.iter(|| futures::executor::block_on(executor.tree().eval_tagged_value(executor.output(), criterion::black_box(context))).unwrap())
b.iter(|| futures::executor::block_on(executor.tree().eval_tagged_value(executor.output(), std::hint::black_box(context))).unwrap())
});
});
group.finish();