Skip to content

Commit

Permalink
Merge pull request #111 from hymm/stage-yeet-more-span-cleanup
Browse files Browse the repository at this point in the history
more trace cleanup: remove some references to stage
  • Loading branch information
alice-i-cecile authored Jan 29, 2023
2 parents 053fdd4 + ff63a8b commit 41d0b86
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions crates/bevy_render/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl Plugin for RenderPlugin {
{
#[cfg(feature = "trace")]
let _stage_span =
bevy_utils::tracing::info_span!("stage", name = "reserve_and_flush")
bevy_utils::tracing::info_span!("reserve_and_flush")
.entered();

// reserve all existing main world entities for use in render_app
Expand All @@ -288,13 +288,7 @@ impl Plugin for RenderPlugin {
}

// run extract schedule
{
#[cfg(feature = "trace")]
let _stage_span =
bevy_utils::tracing::info_span!("stage", name = "extract").entered();

extract(main_world, render_app);
}
extract(main_world, render_app);
}));
}

Expand Down

0 comments on commit 41d0b86

Please sign in to comment.