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

GET /live/feed names its Server-Timing phases: session, feed, render #3759

shipped production is serving it opened this has it
opened this

GET /live/feed (liveFeedFragment in src/web/studio/feed.ts) redraws the home's feed region. Its Server-Timing carries only the route total, so a slow feed read cannot be told apart from a slow render.

Done:

  • [ ] The answer's Server-Timing names session, feed (the read inside feedRegion) and render, using notePhase and timePhase from src/core/route_timing.ts the way src/web/pages/apps.ts does.
  • [ ] Signed out, it is still a 404 fragment, with session named.
  • [ ] A test asserts the phase names for a signed-in reader and fails without the change. The suites for the feed page and the home feed still pass.

Files: src/web/studio/feed.ts, test/live-feed-timing.test.ts (new). Risk: small; the fragment's HTML must not change.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs