CPU Flame Graph Visualizer
Render folded or raw stack traces into an interactive SVG flame graph online for free. Perf script and py-spy folding, click-to-zoom frames, name highlighting and per-function totals - no install.
Loading tool...
What is CPU Flame Graph Visualizer?
The CPU Flame Graph Visualizer turns stack samples into an interactive SVG flame graph entirely in your browser. Paste folded stacks in the Brendan Gregg format, or raw perf script and py-spy dumps that fold automatically, then zoom into any frame, highlight functions by name, and read per-function sample totals to spot your hottest call paths.
Key Benefits
- Spot the hottest call paths in seconds, not spreadsheets
- Raw perf script and py-spy dumps fold automatically
- Click-to-zoom makes any frame the new root
- Highlight frames by name with matching sample totals
- No install, no upload - rendering runs in your browser
Common Use Cases
- •Profiling slow endpoints from perf or py-spy captures
- •Comparing CPU behavior before and after an optimization
- •Inspecting Node.js and Python stack dumps locally
- •Teaching teams how to read flame graphs
How to Render a Flame Graph
- Paste the stacks: Paste folded lines like main;foo;bar 10, or raw perf script / py-spy output.
- Read the graph: Wider boxes mean more samples - the top of the stack is the deepest call.
- Zoom into hot frames: Click a frame to make its subtree the new root, and use reset to zoom back out.
- Highlight by name: Type a function name to outline its frames and see the matching sample total.
Key Features
- Folded stacks plus automatic perf script and py-spy folding
- Interactive SVG flame graph with sample tooltips
- Click any frame to zoom it into the new root
- Name highlighting with matching sample totals
- Summary of total samples, depth and top functions
- No install, no upload - fully client-side rendering