I0842 — Before and after evidence for every optimisation
Record, for each hot spot removed, the phase time before and after and the counter before and after, in the benchmark history and in the commit message, and summarise them in docs/PERFORMANCE.md by pointing at the baseline file.
BLOCKED wave 3 · p0 · implementation profile · runs alone
Part of M004 — Performance is executable evidence, and the hot path does no canonical work twice.
Blocked. This issue cannot start until I0820, I0832 are done. The status is derived from that, not declared.
Objective
Record, for each hot spot removed, the phase time before and after and the counter before and after, in the benchmark history and in the commit message, and summarise them in docs/PERFORMANCE.md by pointing at the baseline file.
Why
A speed-up without numbers is a claim.
Current state
77f5d79 records the first ranking in its message.
Desired state
Every optimisation commit carries its measured delta; the baseline file carries the accepted state.
Scope
- docs/PERFORMANCE.md
- .ai/repo/benchmarks/baseline.json
Out of scope
- Numbers in prose outside the baseline and the history
Dependencies
- I0818DONE The command registry is read in one pass
- I0819DONE The project model is loaded with one flatten per file and no per-file lookups
- I0820READY Catalogue, DAG, context and command-surface validators read their inputs once
- I0832READY generate-site-data instrumented and its hot spots removed
- I0833DONE knowledge nodes and edges read each source once
What waits on this
Acceptance criteria
- Each optimisation commit names its phase and both values
- The baseline reflects the state after the last optimisation
Validation
- git log --grep perf
Evidence required
- doctor_under_budget
Evidence
None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.
Risk
project.no-counts-in-prose keeps measured values out of the documents; the baseline file is the one place they live.
Timeline
- started
- —
- verified
- —
- completed
- —
Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.
Canonical record: .ai/repo/project/issues/I0842.yaml. Read it back with majordomus plan show I0842.