Diagnosing scroll performance
You get a report that scrolling stutters on a feed screen that mixes images and text. Where do you start, and how do you check?
You get a report that scrolling stutters on a feed screen that mixes images and text. Where do you start, and how do you check?
Don't guess. Measure on a real device with a Release build: Animation Hitches in Instruments to see which frame was late, and Time Profiler to see what the main thread was doing at that moment.
Performance and debuggingMultiple choiceBasics
You inherit an app whose UICollectionView stutters while scrolling. Which of these can…
#scroll #offscreen-rendering
Performance and debuggingMultiple choiceAdvanced
You recorded scrolling with the Instruments Animation Hitches template. Which statements…
#instruments #hitch
Performance and debuggingShort answerBasics
On a phone screen the interviewer asks: "A user reports that scrolling stutters. Where…
#scroll #hitch
SwiftUIShort answerExpert
On a dashboard screen built in SwiftUI, the whole screen stutters on every character…
#performance #instruments