TV Performance Profiling
Overview
Measure user-visible performance first, then map bottlenecks to rendering, data, and media pipelines. Prioritize stable navigation and playback over synthetic benchmark gains.
Metrics to Track
- •Time to interactive from cold launch and resume.
- •Focus-move latency under catalog load.
- •Rail scroll FPS and dropped-frame bursts.
- •Image decode time and memory footprint.
- •Main-thread long tasks and GC churn.
Workflow
- •Define target budgets per device tier.
- •Capture traces for browse, search, details, and playback transitions.
- •Attribute hotspots to JS, layout, image decode, or networking.
- •Apply fixes (virtualization, image sizing, memoization, prefetch tuning).
- •Re-measure and compare against baseline budgets.
Optimization Rules
- •Keep above-fold render path minimal.
- •Defer non-critical metadata rendering.
- •Use deterministic image size policy to reduce decode spikes.
- •Avoid synchronous work in input handlers.
Validation Checklist
- •TTI and focus latency are within target budgets.
- •Scroll jank decreases after each optimization pass.
- •Memory growth stabilizes over long browse sessions.
References
- •Use
references/perf-metrics-plan.mdfor benchmark templates and per-platform budgets.