https://github.com/chainbound/async-rust-benchmarks
A collection of async Rust benchmarks aimed to understand the performance implications of various async patterns.
https://github.com/chainbound/async-rust-benchmarks
async benchmark rust tokio
Last synced: 10 months ago
JSON representation
A collection of async Rust benchmarks aimed to understand the performance implications of various async patterns.
- Host: GitHub
- URL: https://github.com/chainbound/async-rust-benchmarks
- Owner: chainbound
- Created: 2025-06-08T11:55:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-11T12:37:44.000Z (12 months ago)
- Last Synced: 2025-06-27T00:46:09.910Z (12 months ago)
- Topics: async, benchmark, rust, tokio
- Language: Rust
- Homepage:
- Size: 56.6 KB
- Stars: 10
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Async Rust Performance Benchmarks
> Benchmarking the performance of async Rust primitives and patterns.
## Benchmarks
| Benchmark | Description | Code | Results |
|-----------|-------------|------|-------|
| [`01.rs`](benches/01.rs) | `Future` implementation vs. `tokio::select!` loop for actors | [`src/01/`](src/01) | [`README.md`](src/01/README.md) |
| [`02.rs`](benches/02.rs) | `JoinSet` vs. `FuturesUnordered` | | |
| [`03.rs`](benches/03.rs) | The cost of `Pin>>` (`async-trait` etc) | | |
| [`04.rs`](benches/04.rs) | When to use `spawn_blocking` | | |