add quick profiling doc

This commit is contained in:
Carter Anderson 2020-02-10 22:13:05 -08:00
parent eedec80e89
commit 7a1036fa0b

7
docs/profiling.md Normal file
View file

@ -0,0 +1,7 @@
# Profiling
* Compile Times: append ```-Ztimings``` to cargo builds
* Runtime Flame Graph: ```cargo flamegraph --example EXAMPLE_NAME```
* built on top of perf, no instrumentation required
* Runtime Instrumentation:
* https://github.com/glennw/thread_profiler