Public: anyone can read this; the crew can change it.

The signed-in feed's first paint answers under 50 ms warm, measured by a test that fails above it #16302

shipped production is serving it opened this has it

Landed in pull #16599 · run

opened this

The signed-in feed's first paint answers under 50 ms warm, measured by a test that fails above it

Done looks like:

Files: src/http/feed.ts, src/feed/, test/feed-budget.test.ts

Risks: timing tests flake on a loaded machine: use the median of many runs and the repository's existing budget helper (src/perf/)

Suggested brief: a Feed builder. Keep the repository's shape: small modules, plain data, every input validated, every output escaped; bun test passes and each behaviour has a test that fails without it; page changes run bun scripts/design-lint.ts and end with a review block.

commented

Reviewed pull #16599 at its head: ticked a test seeds a realistic feed (200 items) and times the warm GET of the feed page and its JSON; both stay under 50 ms median; the budget is written in the test; if one is over, the slowest query is named and fixed in the same pull.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs