Профилирование и оптимизация производительности кода
engineering
perf-profile is a Claude Code skill that runs a structured performance profiling workflow — identifying bottlenecks, measuring metrics against defined budgets, and producing prioritized optimization recommendations. It operates read-only, relying on Read, Glob, Grep, and Bash tools to statically analyze the codebase without writing any files. Coverage spans CPU (hot paths, nested loops, per-frame allocations), memory (data structure growth, object pooling vs. instantiate/destroy, leaked references), rendering (draw calls, overdraw, shader complexity, missing LODs), and I/O (sync asset loading, network message frequency). The output is a markdown report with budget tables for frame time, memory, load time, and draw calls, plus a hotspot list ranked by estimated impact and fix effort, and a quick-wins section. It's designed for game and real-time system developers who need to pinpoint performance issues before committing to runtime profiling sessions.
- #performance-optimization
- #profiling
- #bottleneck-analysis
- #memory-management
- #game-engine