Skip to content

A collection of async Rust benchmarks aimed to understand the performance implications of various async patterns.

Notifications You must be signed in to change notification settings

chainbound/async-rust-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async Rust Performance Benchmarks

Benchmarking the performance of async Rust primitives and patterns.

Benchmarks

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

About

A collection of async Rust benchmarks aimed to understand the performance implications of various async patterns.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages