Why it matters
Flame graphs reveal hot paths visually. Great for CPU-side of LLM stack.
Advertisement
The architecture
Capture stack samples; aggregate; render as flame graph.
Wide = hot; tall = deep.
Advertisement
How it works end to end
py-spy dump --pid.
flamegraph.pl.
View SVG in browser.