docs(measure): several changes share one main baseline, bracketed for drift #2819

Merged
HumanBean merged 1 commit from HumanBean/Longshot:docs/ab-shared-baseline into main 2026-11-29 22:36:30 +00:00
Owner

Summary

How to measure several changes on one PC in one session. Our A/B guidance covered one change against main. When
several fixes, or one pull request's switches one at a time, were measured together, each got its own main build and
its own interleaved main runs. On the AMD lab PC (RX 580) that doubled the builds and runs. A drifting main run
also still looked like a result.

This adds a short section to docs/dev/developing.md, "Several changes against one baseline", and a pointer from the
measure skill:

  • One main build at one commit, shared by every change.
  • A change behind a runtime switch is its own A/B: its own build, with the switch off and on.
  • One batch: main, each change, then main again at the end. If the two main runs differ by more than a change's
    gap, the batch tells you nothing about that change.
  • More runs only for what looks like a gain, interleaved with main, before a number goes in a pull request.
  • One job at a time on the PC, builds included: a build beside a timed run spoils it.

Read first: docs/dev/developing.md (the new section before "An A/B within one run") and
.claude/skills/measure/SKILL.md.

Testing

Tested: tests/test_doc_anchors.py passes, so the new anchor the skill links to resolves.
tests/test_fs_links.py passes.

Still to test:

  • None

Measurements

Nothing to measure: docs only.

Risks

None: docs and the measure skill only; no code changes.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says. (Docs only: the doc checks ran.)
  • mise run test passes (any failure that also fails on main is named). Not run: only the two doc checks above.
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary How to measure several changes on one PC in one session. Our A/B guidance covered one change against `main`. When several fixes, or one pull request's switches one at a time, were measured together, each got its own `main` build and its own interleaved `main` runs. On the AMD lab PC (RX 580) that doubled the builds and runs. A drifting `main` run also still looked like a result. This adds a short section to `docs/dev/developing.md`, "Several changes against one baseline", and a pointer from the measure skill: - One `main` build at one commit, shared by every change. - A change behind a runtime switch is its own A/B: its own build, with the switch off and on. - One batch: `main`, each change, then `main` again at the end. If the two `main` runs differ by more than a change's gap, the batch tells you nothing about that change. - More runs only for what looks like a gain, interleaved with `main`, before a number goes in a pull request. - One job at a time on the PC, builds included: a build beside a timed run spoils it. Read first: `docs/dev/developing.md` (the new section before "An A/B within one run") and `.claude/skills/measure/SKILL.md`. ## Testing **Tested:** `tests/test_doc_anchors.py` passes, so the new anchor the skill links to resolves. `tests/test_fs_links.py` passes. **Still to test:** - None ## Measurements Nothing to measure: docs only. ## Risks None: docs and the measure skill only; no code changes. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. (Docs only: the doc checks ran.) - [ ] `mise run test` passes (any failure that also fails on `main` is named). Not run: only the two doc checks above. - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs(measure): several changes share one main baseline, bracketed for drift
Some checks failed
CI / What the change needs (pull_request) Successful in 12s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been skipped
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been skipped
CI / Third-party parts and guide screenshots (pull_request) Failing after 15s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 16s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 3m10s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m50s
CI / Website build and checks (pull_request) Failing after 35s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 19m40s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 41m15s
PR description / Title and description (pull_request_target) Failing after 10s
8b959ae493
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member

Possibly related, for context:

  • PR #2187 WIP: fix(dev): a timed run's noise names the queue's jobs that ran beside it — Related measurement noise: records concurrent jobs during timed runs.
  • issue #1517 The renderer rewrite's frame-time gates need a noise floor per machine, and the test farm's gate has none — Open issue documents noise and baseline uncertainty in performance measurement.
Possibly related, for context: - PR #2187 WIP: fix(dev): a timed run's noise names the queue's jobs that ran beside it — Related measurement noise: records concurrent jobs during timed runs. - issue #1517 The renderer rewrite's frame-time gates need a noise floor per machine, and the test farm's gate has none — Open issue documents noise and baseline uncertainty in performance measurement.
HumanBean changed title from WIP: docs(measure): several changes share one main baseline, bracketed for drift to docs(measure): several changes share one main baseline, bracketed for drift 2026-11-29 22:36:20 +00:00
HumanBean deleted branch docs/ab-shared-baseline 2026-11-29 22:36:30 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2819
No description provided.