Targeted Performance Fix
Make a measured, targeted performance improvement — profile to find the real bottleneck, optimize it, then prove the speedup with before/after numbers while keeping behavior correct. Profiles FIRST and locks a measurable target, because optimizing without measuring is guessing, then applies the focused change, then a reviewer confirms the improvement is real, behavior is unchanged, and the code is not needlessly obfuscated. Covers profiling/benchmarking, hotspot identification, algorithmic vs micro optimization, before/after measurement, and correctness-preserving speedups.
How it runs
| # | Step | Who runs it | What happens |
|---|---|---|---|
| 1 | Profile and target | Developer | measure the bottleneck, lock a numeric target |
| 2 | Optimize the hotspot | Developer | apply the focused change, re-measure |
| 3 | Verify the speedup | Reviewer | confirm real improvement, unchanged output |
| 4 | Evaluate | Reviewer | Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap. |
| 5 | Finish | Developer | All acceptance criteria met. Stamp a short summary and report DONE. |
Say something like "optimize performance" or "make this faster" or "fix a slow function" or "profile and optimize" or "reduce latency" in chat to start it.