Show puffin profiler flamegraph in-game using egui
puffin is an instrumentation profiler where you opt-in to profile parts of your code:
puffin_egui allows you to inspect the resulting profile data using egui with only one line of code:
profiler_window;
See the examples/ folder for how to use it with eframe.
To try it out, run cargo run --release --example eframe