Analyzing scroll hitches
A photo feed collection view stutters while scrolling. How do you use Instruments to tell whether the cause is image decoding, layout computation, or cell setup?
A photo feed collection view stutters while scrolling. How do you use Instruments to tell whether the cause is image decoding, layout computation, or cell setup?
Use the Animation Hitches template to get the exact time of the hitched frame and whether it was late in the commit stage or the render stage, then open the main thread call stack at that moment in Time Profiler on the same trace and read the heaviest frame: an image decoding function, layoutSubviews and the Auto Layout engine, or the setup code inside cellForItemAt.
Performance and debuggingShort answerAdvanced
Can you explain the causes of dropped frames, split into the CPU side and the GPU side?
#core-animation
Performance and debuggingShort answerAdvanced
The account detail screen in a banking app takes 5 seconds to first display. To avoid…
#performance
Performance and debuggingShort answerBasics
You're reviewing a PR that claims the search results screen got 40% faster. It looks like…
#performance
Performance and debuggingShort answerBasics
Reviews of a secondhand marketplace app keep saying "it gets slow and then closes." How…
#performance