Reputation: 4118
Is there any canonical way to measure the performance of a CATiledLayer
on iOS? In opengl land, it's pretty straightforward to track the FPS, is there any similar trick with UIScrollViews
and CATiledLayers
?
For context, we're tweaking the images going into a CATiledLayer
and noticing severe differences in the zooming FPS and panning FPS with the UIScrollView
. It's subjective but obvious and I was hoping there was a way to measure this so we can stop saying "wow, this seems a lot faster".
Upvotes: 3
Views: 908
Reputation: 4196
You can profile your app with Instrument's Core Animation tool. It will give you the FPS reading.
Note that this is only available on device and not on simulator.
Upvotes: 10