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

A pull's Server-Timing names its phases: session, diff, checks, reviews, render #3192

shipped production is serving it opened this has it
opened this

Like /map (#3172) and home (#3181), the pull page (src/web/pages/pull.ts) names where its time goes, using notePhase/timePhase from src/core/route_timing.ts.

Done looks like:

  • [ ] GET /:owner/:name/pulls/:n sends a server-timing header that lists session, diff, checks, reviews and render after app, each a lowercase token.
  • [ ] The phases add up to no more than app.
  • [ ] A test in test/ reads the header from a pull with a diff and a check, and fails if a phase is missing.

Files: src/web/pages/pull.ts, a test. Risk: timing the diff must not compute it twice.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs