Expand description
A lightweight, easy-to-configure Rust profiler that shows exactly where your code spends time and allocates memory. Instrument any function or code block with to quickly spot bottlenecks, and focus your optimizations where they matter most.
§Setup & Usage
For a complete setup guide, examples, and advanced configuration, see the GitHub repository.
Re-exports§
pub use crate::Format;
Modules§
Macros§
Structs§
Enums§
- Format
- Output format for profiling reports.
Traits§
Functions§
Type Aliases§
- Guard
Builder Deprecated
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
measureprofiling macro. - skip
- Marks a function to be excluded from profiling when used with
measure_all.