From fde01cceb898b944b646a8fed1ce81cb14e523ef Mon Sep 17 00:00:00 2001 From: Mica White Date: Sat, 31 Oct 2026 10:59:52 -0400 Subject: Testing and optimization --- src/time.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/time.rs') diff --git a/src/time.rs b/src/time.rs index 5978b57..d6f9e89 100644 --- a/src/time.rs +++ b/src/time.rs @@ -19,6 +19,7 @@ impl TimeContext { } pub fn next_frame(&mut self) { + #[cfg(feature = "puffin")] puffin::profile_scope!("update time"); self.last_frame = self.current_frame; self.current_frame = Instant::now(); -- cgit v1.3.1