App launch
App launch and startup performance directly impact user experience. Slow app launch frustrates users and leads to app abandonment. Optimizing code during development speeds up app launch times. Common causes include:- Large JavaScript (JS) bundle sizes.
- High network request latency during app startup.
Slow scroll
Slow or janky scrolling is a common UI performance issue that affects the smoothness of list navigation. Smooth scrolling should maintain a consistent frame rate without visual stutters or delays as users move through content. Common causes include:- Inefficient list rendering.
- Heavy computation on the JS thread.
- Complex layouts in list items.
- Large images or media content.
- Excessive re-renders during scroll.
Key press latency
Key press latency measures the delay between a TV remote button press and the app’s response. TV users expect instant feedback when navigating with remotes, making this metric important for the user experience. Common causes include:-
Busy JavaScript Thread.
- Heavy computations (animations, synchronous operations) on the JS thread
- Unnecessary component re-rendering
- Inefficient event handling
-
Starved JS Thread.
- High CPU usage from other apps and process in the OS
- Background task interference
App running out of memory
Vega platform optimizes memory to run apps and system services in parallel, ensuring a seamless user experience. The platform enforces strict memory limits:- Foreground apps: 420 Mb
- Background apps: 150 Mb
- Monitor your app’s memory usage
- Identify objects consuming the most memory
- Get rid of unnecessary memory allocations

