Registry / observability / pprof
library0.15.0rscratesunverified

An internal perf tools for rust programs.

# Cargo.toml [dependencies] pprof = "0.15.0"
INSTALL
IMPORT
SIG · PPROF
P
pprof
observabilityrustv0.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ProfilerGuardBuilder
use pprof::ProfilerGuardBuilder;

Start CPU profiling with pprof

use pprof::ProfilerGuardBuilder; fn main() { let guard = ProfilerGuardBuilder::default() .frequency(100) .build() .unwrap(); // ... your code ... // guard.report().build() to generate report }
Debug
Known issues
gotchaProfiling may require specific platform support (Linux perf events).
fix
Ensure the program runs on Linux with perf_event_open support.
affects: >=0.0.0
Upgrade
Version history
0.15.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
2
Resources
pprof — cargo add pprof · libregistry