performance-profiling
SKILL.md
Performance Profiling
Core Principle: Measure First
Never optimize without data. Gut-feeling optimization leads to wasted effort on non-bottlenecks. Always follow this sequence:
- Define a measurable performance goal (e.g., "page load under 2 seconds on 3G").
- Measure current performance with appropriate tooling.
- Identify the actual bottleneck from profiling data.
- Apply a targeted fix.
- Re-measure to confirm improvement.
- Repeat until the goal is met.
Bottleneck Categories
Before diving into tools, classify the bottleneck you are investigating: