Repository navigation
performance.md compliance audit: 4-round codebase review #248
Copy link
Copy link
Closed
Labels
needs-humanagent work done, waiting for human action (merge/close/decision)agent work done, waiting for human action (merge/close/decision)
Description
Goal
Audit the codebase against docs/performance.md to confirm:
- Code matches the performance patterns and anti-patterns documented in performance.md
- Recent performance changes have been recorded in performance.md with before/after numbers
- No undocumented hot-path violations exist
- Benchmark results in performance.md are current
Modeled after #247 (k8s.md compliance audit).
Rounds
Round 1: Inventory
- Catalog all hot paths identified in performance.md
- List all Criterion benchmarks and their documented results
- Find all
git logcommits with perf-related titles/labels since the last performance.md update - Identify any perf changes not reflected in performance.md
Round 2: Violation detection
- For each hot path in performance.md, read the current code and check against documented anti-patterns
- For each recent perf commit, verify before/after numbers exist in performance.md
- Flag any code that violates performance.md patterns (O(n^2) in hot paths, repeated scans, unbounded debug cost, etc.)
- Flag any perf PRs merged without benchmark evidence in performance.md
Round 3: Fixes
- Update performance.md with missing benchmark results from recent perf PRs
- Fix any documented anti-pattern violations found in Round 2
- Add missing hot-path documentation for systems not yet covered
- Run Criterion benchmarks locally to verify current numbers match documented numbers
Round 4: Verification
- Re-read performance.md and confirm all sections are current
- Verify all hot paths have documented benchmark coverage
- Confirm no anti-pattern violations remain
- Final sign-off
Acceptance Criteria
- Round 1: all hot paths, benchmarks, and recent perf commits inventoried with file:line refs
- Round 2: every hot path checked against anti-patterns, every recent perf PR checked for benchmark docs
- Round 3: performance.md updated with missing results, anti-pattern violations fixed
- Round 4: final verification pass confirms no gaps remain
- Compliance verified against docs/performance.md, docs/k8s.md, docs/authority.md
Critical Docs
docs/performance.md-- primary audit targetdocs/k8s.md-- cross-reference for system architecturedocs/authority.md-- data ownership for GPU/CPU hot paths
Metadata
Metadata
Assignees
Labels
needs-humanagent work done, waiting for human action (merge/close/decision)agent work done, waiting for human action (merge/close/decision)
Activity
docs: performance.md compliance audit -- fix stale tunings, add opt l…
abix- commentedon Mar 21, 2026
Claude
PR: https://github.com/abix-/endless/pull/251
abix- commentedon Mar 21, 2026
Claude
PR: https://github.com/abix-/endless/pull/251
docs: performance.md compliance audit -- fix stale tunings, add opt l…
abix- commentedon Mar 21, 2026
approved via PR #251 -- merging and closing