Add support for profiling using tracy
This commit is contained in:
parent
929f4fcb05
commit
a1c8b3aa3e
18 changed files with 122 additions and 5 deletions
|
|
@ -286,6 +286,7 @@ impl Workspace {
|
|||
}
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
pub fn refresh(&mut self, xdg_activation_state: &XdgActivationState) {
|
||||
#[cfg(feature = "debug")]
|
||||
puffin::profile_function!();
|
||||
|
|
@ -1059,6 +1060,7 @@ impl Workspace {
|
|||
}
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
pub fn render<'a, R>(
|
||||
&self,
|
||||
renderer: &mut R,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue