Crate tracing_prof

Source
Expand description

Profiling library for tracing that tracks various metrics such as CPU time, wall time, allocations, and heap usage.

Re-exports§

pub use allocator::TrackingAllocator;
pub use config::ProfileConfig;
pub use layer::ProfileLayer;
pub use reporter::ProfileReporter;

Modules§

allocator
An allocator that enables tracking of allocations and deallocations for allocation groups (e.g. spans).
config
Profiling configuration.
layer
A profiling layer that can be used with tracing-subscriber to track and report performance statistics.
reporter
Reporters are used to report profiling data produced by the profile layer.
sampler
Customization of sampling behavior.