diff --git a/crates/bevy_app/src/app.rs b/crates/bevy_app/src/app.rs index 404ed09a49bcf..780b1ada979c8 100644 --- a/crates/bevy_app/src/app.rs +++ b/crates/bevy_app/src/app.rs @@ -236,9 +236,11 @@ impl App { /// /// The active schedule of the app must be set before this method is called. pub fn update(&mut self) { + #[cfg(feature = "trace")] + let _bevy_update_span = info_span!("update").entered(); { #[cfg(feature = "trace")] - let _bevy_frame_update_span = info_span!("main app").entered(); + let _bevy_main_update_span = info_span!("main app").entered(); self.world.run_schedule(&*self.main_schedule_label); } for (_label, sub_app) in self.sub_apps.iter_mut() {