w-perf
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFind performance issues with a measured baseline. Do not invent SLOs or impact percentages. Report-only unless the user asked to implement.
- Read testing docs for budgets if present. Capture a baseline with the repo profiler, traces, tests, or job timing — not estimates.
gh - Locate the owning hot path (query, render, allocation) with that evidence.
- Recommend the smallest change. Implement only when authorized. Re-measure after a change.
- If a new budget is required, document it in existing testing docs instead of inventing an SLO here.
- Docs: if behavior or commands changed.
/w-docs
在已有测量基准的情况下发现性能问题。不要臆造 SLO 或影响百分比。除非用户要求实施,否则仅进行报告。
- 阅读测试文档以了解现有预算(如有)。使用 repo profiler、traces、tests 或 job timing 捕获基准数据,而不是使用估算值。
gh - 根据这些证据定位所属的 hot path(query、render、allocation)。
- 推荐最小改动。仅在获得授权时实施。改动后重新测量。
- 如果需要设置新预算,将其记录在现有测试文档中,而不是在此臆造 SLO。
- 文档:如果行为或命令发生变化,请更新 。
/w-docs