Loading...
Loading...
Make a macOS app fast by measuring hangs, stutter, CPU, memory, and energy, then moving work off the main thread and onto the GPU. Use when the app freezes, a shortcut feels slow, dragging stutters, the fan spins, memory grows, or the user asks to optimize or profile.
npx skill4agent add daveebbelaar/bama performancereproduce -> measure (release build) -> find the line -> fix -> measure again -> commit with the numberstest-mac-app| Symptom | Tool |
|---|---|
| App freezes, spinning pointer | |
| Slow action | Time Profiler: |
| Short freezes while typing or dragging | |
| Stutter while moving or animating | |
| Memory grows | |
| Fan, battery | |
.traceCALayerNSCacheCIContextMTKViewCGImageCGImageIOSurfaceNSImage