summaryrefslogtreecommitdiff
path: root/src/script.rs
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2026-07-03 16:17:35 -0400
committerMica White <botahamec@outlook.com>2026-07-03 16:19:17 -0400
commitf31fda79035077a9dab8dee07a11d71fac3ba791 (patch)
treea3c8eb295fd18831cb7ff803c984c32b5a823c2b /src/script.rs
parentbb7525206da1782fd9af49621aa52d87bd227838 (diff)
Profiling
Diffstat (limited to 'src/script.rs')
-rw-r--r--src/script.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script.rs b/src/script.rs
index eeb943f..be7f6f4 100644
--- a/src/script.rs
+++ b/src/script.rs
@@ -117,6 +117,7 @@ impl<'a> ScriptManager<'a> {
}
pub fn run_scripts(&mut self, context: &mut ScriptContext<'_>) {
+ puffin::profile_function!();
for script_id in &self.active_scripts {
let Some(script) = self.scripts.get(*script_id) else {
unreachable!("The active script does not exist");