perf-theory-tester
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseperf-theory-tester
perf-theory-tester
Test hypotheses using controlled experiments.
Follow as the canonical contract.
docs/perf-requirements.md通过受控实验验证假设。
请以作为标准约定。
docs/perf-requirements.mdRequired Steps
必要步骤
- Confirm baseline is clean.
- Apply a single change tied to the hypothesis.
- Run 2+ validation passes.
- Revert to baseline before the next experiment.
- 确认基准环境干净无干扰。
- 应用一项与假设相关的单一变更。
- 运行2次及以上的验证测试。
- 在下一次实验前恢复到基准环境。
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.
- 每次实验仅允许一项变更。
- 不允许并行运行基准测试。
- 记录每次运行的相关证据。