Using tracing to profile a Bevy project

Bevy is an open-source game engine built with Rust. It uses the Entity Component System (ECS) paradigm to simplify building performant parallel games. When building games dealing with large numbers of entities in parallel, performance problems are common. I have recently encountered these problems with rustcraft, a voxel project that I’m now building with Bevy. Read A Minecraft Experiment with Rust and OpenGL for more details on that. This is a short introduction to tracing and how it can be used to track down and fix performance problems in your Bevy project....

June 9, 2024 · 4 min