debug: Add actual profiling for rendeirng
This commit is contained in:
parent
26743d6bdc
commit
1c62d6d061
10 changed files with 184 additions and 1 deletions
|
|
@ -1008,6 +1008,9 @@ impl Shell {
|
|||
}
|
||||
|
||||
pub fn refresh(&mut self) {
|
||||
#[cfg(feature = "debug")]
|
||||
puffin::profile_function!();
|
||||
|
||||
self.popups.cleanup();
|
||||
|
||||
match &mut self.workspaces {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue