generated from EmbarkStudios/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I was wondering if there's a way to add arbitrary spans to puffin. It would be nice to just do the following:
let scope = puffin::profile_scope!("slow_code");
// ...
drop(scope);While in a lot of scenarios function and scope profiling is sufficient, there are some performance intervals that aren't easily measured using that methodology. Say something starts in the middle of one function and ends in the middle of another for example.
Being able to insert events with arbitrary start/end times might work too, would just require timing things myself.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request