mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 22:50:19 +00:00
434 B
434 B
Profiling
- Compile Times: append
-Ztimings
to cargo builds - Runtime Flame Graph:
- Flat-ish:
RUSTFLAGS='-C force-frame-pointers=y' cargo flamegraph --example EXAMPLE_NAME
- Graph:
RUSTFLAGS='-C force-frame-pointers=y' cargo flamegraph -c "record -g" --example EXAMPLE_NAME
- built on top of perf, no instrumentation required
- Flat-ish:
- Runtime Instrumentation: