19

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.

Cœur
  • 37,241
  • 25
  • 195
  • 267
justin henricks
  • 467
  • 3
  • 6
  • 17

3 Answers3

32

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.

shabbirv
  • 8,958
  • 4
  • 33
  • 34
1

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

Sri
  • 27
  • 2
1

You can use the native CADisplayLink to count frames as they are rendered on the screen. FPSCounter does that.

RealNmae
  • 630
  • 9
  • 20