A flamegraph is a visualization used to understand where a program spends its time — most commonly for CPU profiling, but also for memory, I/O, or other performance profiling.

A flamegraph is a stack trace visualization where:
- Each box represents a function.
- The width of a box represents how