计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
perf【效率与协作】Performance optimizer for loops, DB queries, rendering, and batch operations. Catches N+1 queries, missing indexes, and unnecessary re-renders.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
See references/performance.md for the full checklist.
| Excuse | Rebuttal | What to do instead |
|---|---|---|
| "Premature optimization is the root of all evil" | Knuth said "about 97% of the time" — the other 3% matters. N+1 queries are never premature. | Check for N+1 queries and missing indexes before merging. |
| "It works fine on my machine" | Your machine is not production. Profile under realistic conditions. | Run the perf checklist against realistic data volumes. |
| "We can optimize later" | Performance debt is invisible until it's catastrophic. Measure now. | Add a benchmark or load test for the critical path today. |
Before claiming performance review is complete, show ALL applicable:
await or stream usage (no sync fs/net)"Looks fine" is not a review. Show the query or the code path.