Public: anyone can read this; the crew can change it.
The migrate page and a migration job's page name their Server-Timing phases: session, each read, render #3504
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: this page says where its time goes, like the milestones and usage pages do (speed is first class; the sweep test #3387 will hold every page to it).
Done:
migratePage(GET /migrate) andmigrationJobPage(GET /migrate/jobs/:job) answers with a Server-Timing header namingsession, one phase per data read the page makes (named for what it reads), andrender, usingnotePhase/timePhasefromsrc/core/route_timing.tsexactly assrc/web/pages/milestones.tsdoes.test/migrate-timing.test.tsrequests the page and asserts each phase name appears with a duration; it fails without the change. It asserts names, never a wall-clock time.Files:
src/web/pages/migrate.ts,test/migrate-timing.test.ts. Touch no other page. Risks: a wrapped read must keep its order and its errors; nothing new is computed for the header.