Crate hotpath

Crate hotpath 

Source
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§

pub use crate::Format;

Modules§

channels
futures
streams

Macros§

channel
future
measure_block
stream

Structs§

FunctionStats
FunctionsGuardBuilder
HotPath
MeasurementGuard
MeasurementGuardWithLog

Enums§

Format
Output format for profiling reports.

Traits§

MetricsProvider
Reporter

Functions§

measure_with_log
measure_with_log_async

Type Aliases§

GuardBuilderDeprecated

Attribute Macros§

main
Initializes the hotpath profiling system and generates a performance report on program exit.
measure
Instruments a function to send performance measurements to the hotpath profiler.
measure_all
Instruments all functions in a module or impl block with the measure profiling macro.
skip
Marks a function to be excluded from profiling when used with measure_all.