perf-theory-tester

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

perf-theory-tester

perf-theory-tester

Test hypotheses using controlled experiments.
Follow
docs/perf-requirements.md
as the canonical contract.
通过受控实验验证假设。
请以
docs/perf-requirements.md
作为标准约定。

Required Steps

必要步骤

  1. Confirm baseline is clean.
  2. Apply a single change tied to the hypothesis.
  3. Run 2+ validation passes.
  4. Revert to baseline before the next experiment.
  1. 确认基准环境干净无干扰。
  2. 应用一项与假设相关的单一变更。
  3. 运行2次及以上的验证测试。
  4. 在下一次实验前恢复到基准环境。

Output Format

输出格式

hypothesis: <id>
change: <summary>
delta: <metrics>
verdict: accept|reject|inconclusive
evidence:
  - command: <benchmark command>
  - files: <changed files>
hypothesis: <id>
change: <summary>
delta: <metrics>
verdict: accept|reject|inconclusive
evidence:
  - command: <benchmark command>
  - files: <changed files>

Constraints

约束条件

  • One change per experiment.
  • No parallel benchmarks.
  • Record evidence for each run.
  • 每次实验仅允许一项变更。
  • 不允许并行运行基准测试。
  • 记录每次运行的相关证据。