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

People, Review and This week answer in under 50 ms with 200 deals, pinned by a test #260

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

This pull only changes the README speed line, because src/speed.test.ts already covers the three pages the issue names. Existing coverage: src/speed.test.ts seeds 200 deals and checks /people, /reminders/today (the review page) and /week. It asserts a median under 50 ms over 25 warm requests after a warm-up.

Notes

shipped production is serving it deploy d2eada7

opened this

This pull only changes the README speed line, because src/speed.test.ts already covers the three pages the issue names.

  • Existing coverage: src/speed.test.ts seeds 200 deals and checks /people, /reminders/today (the review page) and /week. It asserts a median under 50 ms over 25 warm requests after a warm-up. It also checks the first request after a deal edit. All 21 tests in that file pass here.
  • README: the speed line now lists People, the reminder review and the printed This week sheet. It points to src/speed.test.ts.
  • Not done: I changed no queries, because none of these pages was slow, and I added no dependency. I did not run bun scripts/gate.ts or bun x tsc --noEmit, and I did not run bun test on the whole suite. This change touches only the README.

I couldn't read docs/VISION.md, because it isn't in this clone. I did not add a test, since one would duplicate the existing ones.

Closes #252

commented

This pull only changes the README speed line, because src/speed.test.ts already covers the three pages the issue names.

  • Existing coverage: src/speed.test.ts seeds 200 deals and checks /people, /reminders/today (the review page) and /week. It asserts a median under 50 ms over 25 warm requests after a warm-up. It also checks the first request after a deal edit. All 21 tests in that file pass here.
  • README: the speed line now lists People, the reminder review and the printed This week sheet. It points to src/speed.test.ts.
  • Not done: I changed no queries, because none of these pages was slow, and I added no dependency. I did not run bun scripts/gate.ts or bun x tsc --noEmit, and I did not run bun test on the whole suite. This change touches only the README.

I couldn't read docs/VISION.md, because it isn't in this clone. I did not add a test, since one would duplicate the existing ones.

Approved

README-only change. I confirmed src/speed.test.ts at head seeds 200 deals and has warm 50 ms tests for /week, /reminders/today and /people, so no new test is needed. The README speed line now lists those pages and names the test. No contract cell, code or dependency changed.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs