bevy/crates/bevy_asset/src/server
Chris Russell e3f55d6dfc
Instrument asset loading and processing. (#12988)
# Objective

As described in #12467, Bevy does not have any spans for any of the
tasks scheduled onto the IO and async compute task pools.

## Solution

Instrument all asset loads and asset processing. Since this change is
restricted to asset tasks, it does not completely solve #12467, but it
does mean we can record the asset path in the trace.


![image](https://github.com/bevyengine/bevy/assets/8494645/59faee63-1f69-40af-bf47-312c4d67d1e2)

---

## Changelog

Tracing will now include spans for asset loading and asset processing.
2024-04-16 12:02:11 +00:00
..
info.rs Fix beta lints (#12980) 2024-04-16 02:46:46 +00:00
loaders.rs Instrument asset loading and processing. (#12988) 2024-04-16 12:02:11 +00:00
mod.rs Error info has been added to LoadState::Failed (#12709) 2024-04-04 14:04:27 +00:00