Adapt the cutover to the reviewed core-types API

This commit is contained in:
Dennis Kobert
2026-07-31 23:39:39 +02:00
parent 76ec799496
commit fa29ddf357
24 changed files with 170 additions and 145 deletions

View File

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