mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
update profiling doc
This commit is contained in:
parent
3d07fbdc81
commit
f4b07ec9c7
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
# Profiling
|
||||
|
||||
* Compile Times: append ```-Ztimings``` to cargo builds
|
||||
* Runtime Flame Graph: ```cargo flamegraph --example EXAMPLE_NAME```
|
||||
* 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
|
||||
* Runtime Instrumentation:
|
||||
* https://github.com/glennw/thread_profiler
|
Loading…
Reference in a new issue