Searched refs:FuturesExecutor (Results 1 – 2 of 2) sorted by relevance
1 use criterion::{async_executor::FuturesExecutor, criterion_group, BatchSize, Criterion};5 group.bench_function("iter", |b| b.to_async(FuturesExecutor).iter(|| async { 1 })); in some_benchmark()7 b.to_async(FuturesExecutor) in some_benchmark()11 b.to_async(FuturesExecutor) in some_benchmark()15 b.to_async(FuturesExecutor) in some_benchmark()19 b.to_async(FuturesExecutor) in some_benchmark()23 b.to_async(FuturesExecutor) in some_benchmark()27 b.to_async(FuturesExecutor) in some_benchmark()31 b.to_async(FuturesExecutor) in some_benchmark()35 b.to_async(FuturesExecutor) in some_benchmark()[all …]
27 pub struct FuturesExecutor; struct29 impl AsyncExecutor for FuturesExecutor { implementation