Skip to content

Commit

Permalink
write some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
hymm committed Oct 23, 2023
1 parent c1b6fc3 commit 15618e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions content/news/2023-10-21-bevy-0.12/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,22 @@ Since our last release a few months ago we've added a _ton_ of new features, bug

<div class="release-feature-authors">authors: @author</div>


## Reduced Tracing Overhead

<div class="release-feature-authors">authors: @hymm, @james7132</div>

Bevy uses the tracing library to measure systems running time among other things. This is useful for determining where bottlenecks in frametime are and measuring performance improvements. However using tracy has significant overhead to it. A large part of the per span overhead was due to allocating the string description of the span. By caching the spans for systems, commands, and parallel iteration, we have significantly reduced the overhead when using tracing. In the PR caching the system spans the many foxes stress test went from 5.35 ms to 4.54 ms. In the PR caching the parallel iteration spans, the many cubes stress test went from 8.89 ms to 6.8 ms.

![tracing overhead](tracing-overhead-reduction.png)

## <a name="what-s-next"></a>What's Next?

We have plenty of work that is pretty much finished and is therefore very likely to land in **Bevy 0.13**:

Check out the [**Bevy 0.13 Milestone**](https://github.com/bevyengine/bevy/milestone/17) for an up-to-date list of current work being considered for **Bevy 0.13**.


## Support Bevy

Sponsorships help make our work on Bevy sustainable. If you believe in Bevy's mission, consider [sponsoring us](/community/donate) ... every bit helps!
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 15618e8

Please sign in to comment.