mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-19 09:34:19 +01:00
profiling: add more profile markup
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -208,6 +208,7 @@ impl RenderNavResponse {
|
||||
}
|
||||
|
||||
#[must_use = "Make sure to save columns if result is true"]
|
||||
#[profiling::function]
|
||||
pub fn process_render_nav_response(
|
||||
self,
|
||||
app: &mut Damus,
|
||||
@@ -1019,6 +1020,7 @@ impl<R> BodyResponse<R> {
|
||||
}
|
||||
|
||||
#[must_use = "RenderNavResponse must be handled by calling .process_render_nav_response(..)"]
|
||||
#[profiling::function]
|
||||
pub fn render_nav(
|
||||
col: usize,
|
||||
inner_rect: egui::Rect,
|
||||
|
||||
Reference in New Issue
Block a user