Home
last modified time | relevance | path

Searched refs:FuturesExecutor (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/criterion/benches/benchmarks/
Dasync_measurement_overhead.rs1 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 …]
/external/rust/crates/criterion/src/
Dasync_executor.rs27 pub struct FuturesExecutor; struct
29 impl AsyncExecutor for FuturesExecutor { implementation