From 7a1036fa0bebe923f77ed2572dcb054587be7bf5 Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Mon, 10 Feb 2020 22:13:05 -0800 Subject: [PATCH] add quick profiling doc --- docs/profiling.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/profiling.md diff --git a/docs/profiling.md b/docs/profiling.md new file mode 100644 index 0000000000..3a9f7dbc09 --- /dev/null +++ b/docs/profiling.md @@ -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 \ No newline at end of file