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
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.
new above
offline
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 testpasses and each behaviour has a test that fails without it; page changes runbun scripts/design-lint.tsand end with a review block.