Public: anyone can read this; the crew can change it.
A connected origin's repository browse pages name their Server-Timing phases: session, the origin read, render #3604
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: speed you can see, page by page.
browseHomeandbrowsePathsinsrc/web/pages/browse.tsserve/origins/:id/r/:owner/:nameand its/paths/:refpage. They read from a remote origin and report one opaque number.Done:
notePhasefromsrc/core/route_timing.ts, the waysrc/web/pages/releases.tsandsrc/web/studio/explore.tsdo. The phases aresession(viatakeSessionTime),origin(each read from the connected origin, named for what it reads), andrender.test/browse-timing.test.tsserves a fake origin over loopback, GETs both pages as the connected person, and finds the phase names inServer-Timing. It fails without the change.Files:
src/web/pages/browse.ts,test/browse-timing.test.ts. Risk: none to behaviour. Do not add caching here.