Loading tutorials
cargo flamegraph and get an SVG you can open in a browser.2 min readflamegraph.svg with cargo flamegraph and that your build has debug symbols. It also assumes you know that a flamegraph is built from sampled call stacks. The goal here is to read the picture and pick the function worth optimizing.3 min readcargo flamegraph, and read the basic shape of a flamegraph. Here you learn why some frames in a graph are missing, duplicated, or hard to read, and what to do about each case.2 min readperf on Linux, and know what a call stack is. You should also have read the earlier chapters on sampling and on building with debug symbols.3 min readcargo flamegraph and read its output. It also assumes you know why release builds need debug symbols and how frame pointers differ from DWARF unwinding. Here we take apart the pipeline that cargo flamegraph runs for you, so you can control each step.3 min readcargo flamegraph, and can read the wide boxes in it. Here you fix the hotspot from the earlier example and then confirm the fix with measurements instead of impressions.3 min readperf, and read a basic flamegraph. A differential flamegraph shows what changed between two profiles, so you don't have to compare two separate pictures by eye.2 min readcargo flamegraph or with perf and inferno, and read one for hotspots. It covers what changes when a program runs several threads or uses an async runtime.3 min readcargo flamegraph, and read a basic flamegraph. It explains what a CPU flamegraph leaves out and what to do about it.3 min read