perf-theory-gatherer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseperf-theory-gatherer
perf-theory-gatherer
Generate performance hypotheses for a specific scenario.
Follow as the canonical contract.
docs/perf-requirements.md为特定场景生成性能假设。
请以作为标准约定。
docs/perf-requirements.mdRequired Steps
必要步骤
- Review recent git history (scope to relevant paths when possible).
- Identify code paths involved in the scenario (repo-map or grep).
- Produce up to 5 hypotheses with evidence + confidence.
- 查看近期Git历史记录(尽可能限定在相关路径范围内)。
- 识别场景涉及的代码路径(使用repo-map或grep)。
- 生成最多5个带有证据和置信度的假设。
Output Format
输出格式
hypotheses:
- id: H1
hypothesis: <short description>
evidence: <file/path or git change>
confidence: low|medium|high
- id: H2
...hypotheses:
- id: H1
hypothesis: <short description>
evidence: <file/path or git change>
confidence: low|medium|high
- id: H2
...Constraints
约束条件
- MUST check git history before hypothesizing.
- No optimization suggestions; only hypotheses.
- Keep to 5 hypotheses maximum.
- 必须先检查Git历史记录,再进行假设生成。
- 不得提供优化建议;仅生成假设。
- 最多保留5个假设。