Skip to content

perf: document and CI-assert a low-end-device latency budget#39

Open
ChelseaKR wants to merge 1 commit into
mainfrom
roadmap/low-end-device-performance-budget
Open

perf: document and CI-assert a low-end-device latency budget#39
ChelseaKR wants to merge 1 commit into
mainfrom
roadmap/low-end-device-performance-budget

Conversation

@ChelseaKR

Copy link
Copy Markdown
Owner

Make README's "latency budgets for the local path are asserted in CI" true
and close the roadmap's Low-end-device performance item.

  • docs/performance-budget.md: per-operation budgets for the local path
    (content hash, seal/store, custody append, CRDT merge, packet assembly),
    a reference low-end device modeled as ~10x slower than the CI runner
    (CI asserts device_budget / 10), the best-of-N tolerance band, and the
    explicit exclusion of RFC 3161 TSA network latency (deferred, off the
    capture path).
  • tests/test_perf_budget.py: best-of-N perf assertions mirroring the doc's
    budgets. Not marked integration, so it runs under make test and CI.
    Ceilings sit ~15-30x above measured local latency to avoid flakiness.
  • README.md: link the latency sentence to the new budget doc.
  • ROADMAP.md: mark the item shipped.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com


Backfill PR for a completed roadmap item (roadmap/low-end-device-performance-budget, 1 commit(s) over main). Part of the portfolio roadmap batch.

Make README's "latency budgets for the local path are asserted in CI" true
and close the roadmap's Low-end-device performance item.

- docs/performance-budget.md: per-operation budgets for the local path
  (content hash, seal/store, custody append, CRDT merge, packet assembly),
  a reference low-end device modeled as ~10x slower than the CI runner
  (CI asserts device_budget / 10), the best-of-N tolerance band, and the
  explicit exclusion of RFC 3161 TSA network latency (deferred, off the
  capture path).
- tests/test_perf_budget.py: best-of-N perf assertions mirroring the doc's
  budgets. Not marked integration, so it runs under `make test` and CI.
  Ceilings sit ~15-30x above measured local latency to avoid flakiness.
- README.md: link the latency sentence to the new budget doc.
- ROADMAP.md: mark the item shipped.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants