There is Some Jank in My App
summary
A small sports widget with 60+ elements stutters on older phones because CSS changes like box-shadow and text-shadow trigger layout, paint and composite on every frame, overflowing the 16.67 ms budget (60 fps) and causing long tasks (one spotted >2s) and 300+ ms paint times. The fix is removing those heavy properties; after ~29 deletions the widget scrolls smoothly. Diagnosis uses the Chrome Performance tab, FPS meter, CPU throttling and hardware concurrency.
AI-written summary · about
