mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
58eb7e7e05
Documenting small things here and there..
9 lines
446 B
Markdown
9 lines
446 B
Markdown
# 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
|
|
* Runtime Instrumentation:
|
|
* [thread_profiler](https://github.com/glennw/thread_profiler)
|