# Flamegraph profiling (/debugging--perf-flamegraph)

/debugging--perf-flamegraph is a Claude Code skill in the Code section. Characterizes a performance bottleneck, inspects the code and generates the profiling commands for your language to build and read flamegraphs.

- Web version: https://skills.sgomez.dev/en/s/debugging--perf-flamegraph
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/debugging/perf-flamegraph.md
- Updated 30 Mar 2026

## How to ask for it

- `/debugging--perf-flamegraph generate a flamegraph for my slowest endpoint`
- `/debugging--perf-flamegraph find the CPU bottleneck in this service`
- `/debugging--perf-flamegraph profile the IO usage of this process`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install debugging-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*`
- Runs: `perf`, `py-spy`, `node --prof`, `node --cpu-prof`, `go tool pprof`, `cargo flamegraph`, `ab`, `wrk`, `hyperfine`, `time`, `strace`, `ltrace`, `iostat`, `vmstat`
- Network: No
- Destructive: No

## Author's description

Profile and debug performance bottlenecks using flamegraph analysis and CPU/IO profiling

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
