Optimize Performance

Improve the performance of a hot path with measurement-first discipline - profile to find the real bottleneck, set a target, change one thing, re-measure, and stop when the target is met. Use when code is too slow, memory-hungry, or throughput-bound and you want to make it deliberately faster without ever guessing at the cause. For a performance regression - code that was fast and got slow - run /diagnosing-bugs instead, which treats the slowdown as a bug to bisect.

MAHDTech dc2b678 4.3 KB Updated

File contents

MAHDTech/agent-skills/tree/main/skills/engineering/optimize-performance commit dc2b678cdf

Frequently asked questions

npx skillmds@latest add mahdtech/optimize-performance