
I compared UIKit and SwiftUI performance with the most ridiculous scroll view possible. Memory usage wasn’t dramatic, but was interestingly spiky. Perhaps due to the different numbers of gifs and different resolution of the images rendered on each cell. When it came to profiling peak memory and energy usage, I expected UIKit to yield the same kind of results I saw in SwiftUI: We’re still displaying an enormous number of elements, animating them the same, and these images are not any bigger or smaller, right? Now don’t I look silly. Memory usage hovered around 92MB for UIKit, compared to 248MB in SwiftUI. Read my scientific performance comparison right here 🧪 blog.jacobstechtavern.com/p/swiftui-vs-u…























