Skip to content

add optional profiling instrumentation to library crates#10

Merged
Georgiy-Tugai merged 1 commit intoforest-rs:mainfrom
Georgiy-Tugai:profiling
Apr 29, 2026
Merged

add optional profiling instrumentation to library crates#10
Georgiy-Tugai merged 1 commit intoforest-rs:mainfrom
Georgiy-Tugai:profiling

Conversation

@Georgiy-Tugai
Copy link
Copy Markdown
Collaborator

@Georgiy-Tugai Georgiy-Tugai commented Apr 29, 2026

Gate the profiling crate (v1.0, default-features off) behind a
profiling feature in all five library crates. Annotate 36 public
entry points with profiling::function_scope!() so users get
zero-cost, opt-in structured spans for puffin/tracy/tracing backends.

Gate the `profiling` crate (v1.0, default-features off) behind a
`profiling` feature in all five library crates. Annotate 36 public
entry points with `profiling::function_scope!()` so users get
zero-cost, opt-in structured spans for puffin/tracy/tracing backends.
@Georgiy-Tugai Georgiy-Tugai merged commit 66fcbae into forest-rs:main Apr 29, 2026
15 checks passed
@Georgiy-Tugai Georgiy-Tugai deleted the profiling branch April 29, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant