mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
de677dbfc9
Tracing added support for "inline span entering", which cuts down on a lot of complexity: ```rust let span = info_span!("my_span").entered(); ``` This adapts our code to use this pattern where possible, and updates our docs to recommend it. This produces equivalent tracing behavior. Here is a side by side profile of "before" and "after" these changes. ![image](https://user-images.githubusercontent.com/2694663/158912137-b0aa6dc8-c603-425f-880f-6ccf5ad1b7ef.png) |
||
---|---|---|
.. | ||
cargo_features.md | ||
debugging.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
linters.md | ||
linux_dependencies.md | ||
plugins_guidelines.md | ||
profiling.md | ||
release_checklist.md |