Reputation: 467
I am running a Sencha Touch application and I am wondering what the best way to measure my FPS while running my app on a device from Xcode? Specifically I have an infinitely scrolling facebook-like wall and I am trying to measure my scrolling performance.
Upvotes: 19
Views: 24014
Reputation: 660
You can use the native CADisplayLink to count frames as they are rendered on the screen. FPSCounter does that.
Upvotes: 1
Reputation: 27
You can also use this tool for measuring FPS on both iOS and Android devices, simultaneously and you dont even need a mac (PC/linux would do!)
https://www.gamebench.net/en/content/gamebench-desktop-profiler
Upvotes: 1
Reputation: 9098
You can use instruments for this! Tap and hold the play button in Xcode and press 'profile' and it will open the instruments app. Use the Core Animation Template. It'll show you FPS to test your scroll performance.
Upvotes: 32