Expand description
hotpath-rs is a simple async Rust profiler. It instruments functions, channels, futures, and streams to quickly find bottlenecks and focus optimizations where they matter most. It can provide actionable insights into time, memory, and data flow with minimal setup.
§Setup & Usage
For a complete setup guide, examples, and advanced configuration, visit hotpath.rs.
Re-exports§
Modules§
Macros§
Structs§
Enums§
Traits§
Functions§
- measure_
async - measure_
async_ future - measure_
async_ future_ log - measure_
async_ log - measure_
sync - measure_
sync_ log
Attribute Macros§
- future_
fn - Instruments an async function to track its lifecycle as a Future.
- main
- Initializes the hotpath profiling system and generates a performance report on program exit.
- measure
- Instruments a function to measure execution time or memory allocations.
- measure_
all - Instruments all functions in a module or impl block with the
measureprofiling macro. - skip
- Marks a function to be excluded from profiling when used with
measure_all.