perf-theory-gatherer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

perf-theory-gatherer

perf-theory-gatherer

Generate performance hypotheses for a specific scenario.
Follow
docs/perf-requirements.md
as the canonical contract.
为特定场景生成性能假设。
请以
docs/perf-requirements.md
作为标准约定。

Required Steps

必要步骤

  1. Review recent git history (scope to relevant paths when possible).
  2. Identify code paths involved in the scenario (repo-map or grep).
  3. Produce up to 5 hypotheses with evidence + confidence.
  1. 查看近期Git历史记录(尽可能限定在相关路径范围内)。
  2. 识别场景涉及的代码路径(使用repo-map或grep)。
  3. 生成最多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个假设。