domains / families / software-engineering / performance-profiling
Identify computational bottlenecks, analyze scaling behavior, estimate memory requirements, and receive optimization recommendations for any computational simulation. Use when simulations are slow, investigating parallel efficiency, planning resource allocation, or seeking performance improvements through timing analysis, scaling studies, memory profiling, or bottleneck detection. Guide performance profiling for Apple platform apps with Instruments, Xcode diagnostics, and MetricKit. Use when investigating app hangs, stutters, high CPU, memory leaks, memory growth, OOM crashes, slow launch, battery drain, thermal issues, App Store performance readiness, or when adding os_signpost and measurement hooks.
The three copies share the name 'performance-profiling' but target three different domains: Apple platform apps (Instruments/MetricKit), web performance (Lighthouse/Core Web Vitals), and computational simulations (Python scripts for scaling/memory). None is a reproduction of the others; each contains material steps, tools, and constraints the others lack.