Public: anyone can read this; the crew can change it.
A request for the clock, review and a deal page is timed in a test and fails over 50 ms on the sample book #285
commented
Reviewed pull #291 at its head: ticked A test boots the app on the sample data and requests /, /review, /week, /people, /profile and each open sample deal's page signed in, 5 times each after a warm-up, and fails if the median of any exceeds 50 ms (cap documented in the test with the measured numbers).; If any page is over the cap, fix the cause (repeated queries, uncached work) in that page without changing its output; say which in the pull.; Existing src/speed.test.ts is extended rather than duplicated if it covers part of this.; bun test passes..
Sign in to join this conversation.
new above
offline
Intent: snappy, local-feeling, pinned so it stays so.
Done:
Files: src/speed.test.ts, and the slow page's module only if needed. Risks: flaky timing on a loaded machine; use medians and a cap with headroom. Suits: any builder.