Registry / observability / profiling

profiling

JSON →
library1.0.18rscratesunverified

A thin abstraction over profiler crates like puffin, tracy, and superluminal for easy profiling integration.

# Cargo.toml [dependencies] profiling = "1.0.18"
INSTALL
IMPORT
SIG · PROFILING
P
profiling
observabilityrustv1.0.18
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.

scope
use profiling::scope;

Example of using the profiling scope macro to instrument code.

use profiling::scope; fn main() { scope!("main"); // Your code here println!("Profiling scope example"); }
Debug
Known issues
gotchaRequires a backend profiler crate to be enabled via feature flags; otherwise profiling calls are no-ops.
fix
Add a backend like `profiling = { version = "1.0", features = ["puffin"] }` to Cargo.toml.
affects: >=1.0.0
Upgrade
Version history
1.0.18latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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