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.
Macros§
Structs§
- Function
Stats - Guard
Builder - Builder for creating a hotpath profiling guard with custom configuration.
- HotPath
- Metrics
Data Json - Structured per-function profiling metrics data.
- Metrics
Json - JSON representation of profiling metrics.
Enums§
- Format
- Output format for profiling reports.
- Metric
Type - Represents different types of profiling metrics with their values.
- Profiling
Mode - Profiling mode indicating what type of measurements were collected.
Traits§
- Metrics
Provider - Trait for accessing profiling metrics data from custom reporters.
- Reporter
- Trait for implementing custom profiling report output.