mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
58eb7e7e05
Documenting small things here and there..
446 B
446 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: