What problem does it solve?
This Skill provides a structured, measurable workflow for finding performance bottlenecks in a game codebase, estimating impact against defined budgets, and producing prioritized, actionable optimization recommendations.
Core Features & Use Cases
- Scoped Profiling: Accepts a specific system name or
full to target per-system analysis or a comprehensive project-wide profile.
- Budget-Aware Analysis: Loads performance budgets (frame time, memory, draw calls, load times, network limits) from design docs and compares estimates against targets.
- Multi-Domain Targets: Identifies CPU hotspots, memory growth, rendering inefficiencies, and I/O/network concerns with suggested fixes and estimated gains.
- Prioritized Reporting: Emits a markdown report listing top hotspots, estimated headroom vs budgets, quick wins, and recommended next actions or escalation steps.
- Use Case: Use this Skill to analyze a struggling physics subsystem that causes frame drops, get a ranked list of fixes, and decide whether to implement, scope down, or escalate architectural changes.
Quick Start
Run the perf-profile skill for 'full' to generate a prioritized performance profiling report across the entire project.