:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(frontend): measure the eager graph of the busiest scenes (#110093)
Paul D'Ambra67b9fef82979
diff --git a/frontend/bin/check-eager-graph.mjs b/frontend/bin/check-eager-graph.mjsindex 33f3786d8f75..ed81f9e26c6c 100644--- a/frontend/bin/check-eager-graph.mjs+++ b/frontend/bin/check-eager-graph.mjs@@ -122,6 +122,37 @@ const ROOTS = [},],},+ // The most visited logged-in scenes, whose JS gates their LCP. A scene root counts every chunk the+ // scene needs, so code it shares with the shell is in both numbers. Like the other roots it adds the+ // whole linked stylesheet, not the per-scene CSS the stable build serves, so a budget tracks JS.+ {+ root: 'src/scenes/dashboard/Dashboard.tsx',+ label: 'dashboard scene',+ // 2026-10-01: 12.25 MiB (4720 files), linked stylesheet included. ~10% headroom.+ budgetBytes: 14_130_000,+ forbidden: [],+ },+ {+ root: 'src/scenes/project-homepage/ProjectHomepage.tsx',+ label: 'project home scene',+ // 2026-10-01: 14.94 MiB (5579 files), linked stylesheet included. ~10% headroom.+ budgetBytes: 17_240_000,+ forbidden: [],+ },+ {+ root: 'src/scenes/activity/explore/EventsScene.tsx',+ label: 'events scene',+ // 2026-10-01: 11.48 MiB (4382 files), linked stylesheet included. ~10% headroom.+ budgetBytes: 13_250_000,+ forbidden: [],+ },+ {+ root: 'src/scenes/session-recordings/detail/SessionRecordingDetail.tsx',+ label: 'replay detail scene',+ // 2026-10-01: 14.29 MiB (5280 files), linked stylesheet included. ~10% headroom.+ budgetBytes: 16_480_000,+ forbidden: [],+ },]function fail(message) {