Benchmarking the performance of async Rust primitives and patterns.
Benchmark | Description | Code | Results |
---|---|---|---|
01.rs |
Future implementation vs. tokio::select! loop for actors |
src/01/ |
README.md |
02.rs |
JoinSet vs. FuturesUnordered |
||
03.rs |
The cost of Pin<Box<dyn Future<Output = ()>>> (async-trait etc) |
||
04.rs |
When to use spawn_blocking |