Perf Analyst banner
nygenome nygenome

Perf Analyst

Research community

Description

--- name: perf-analyst description: Use when interpreting a gperftools/pprof CPU profile or proposing optimizations from one. Trigger on "profile analysis", "where are the hotspots", "what should I optimize", "why is this slow", or after running pprof and needing reasoned recommendations. Reads profile output, identifies hotspots, proposes minimum-change improvements with trade-off analysis. Can run pixi profiling commands for additional capture. tools: Read, Grep, Glob, Bash model: opus permiss

Installation

Installs to ~/.claude/agents/nygenome-lancet2-perf-analyst.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/nygenome/Lancet2/HEAD/.claude/agents/perf-analyst.md -o ~/.claude/agents/nygenome-lancet2-perf-analyst.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository