chore(462 B05 B06 한 페이지): 검증 훅에 시설 줄 — 화면 밖에서 알약 · 측점 수치로 봄

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-18 23:24:47 +09:00
co-authored by Claude Opus 5.5
parent e90b546ed9
commit 07cc08ba4d
+4 -2
View File
@@ -264,8 +264,10 @@ export function renderDesignPage(root: HTMLElement): MountedPage {
void reconcilePagePipeline(projectId); // 들어올 때 입력(세션 · 가게) 대 묶음 맞춤(365-2)
} else void mountView(view, true).ready.then(() => reconcilePagePipeline(projectId)); // 첫 마운트 뒤도(365-5)
// 검증용 — 보기 전환에 든 시간(ms)과 횟수를 화면 밖에서 수치로 본다.
const probe = window as unknown as { __designPage?: { view: string; switchMs: number[] } };
probe.__designPage ??= { view, switchMs: [] };
const probe = window as unknown as {
__designPage?: { view: string; switchMs: number[]; lane?: unknown };
};
probe.__designPage ??= { view, switchMs: [], lane: shared.lane }; // 시설 줄(462) 알약 · 측점
probe.__designPage.view = view;
probe.__designPage.switchMs.push(Math.round(performance.now() - started));
};