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.
我正在运行Sencha Touch应用程序,我想知道在Xcode设备上运行我的应用程序时测量我的FPS的最佳方法是什么?具体来说,我有一个无限滚动的Facebook般的墙,我正在尝试衡量我的滚动性能。
2 个解决方案
#1
17
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.
你可以使用乐器!点击并按住Xcode中的播放按钮,然后按“配置文件”,它将打开乐器应用程序。使用核心动画模板。它会告诉你FPS测试你的滚动性能。
#2
2
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!)
你也可以使用这个工具在iOS和Android设备上同时测量FPS,你甚至不需要mac(PC / linux就可以!)
https://www.gamebench.net/en/content/gamebench-desktop-profiler
https://www.gamebench.net/en/content/gamebench-desktop-profiler
#1
17
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.
你可以使用乐器!点击并按住Xcode中的播放按钮,然后按“配置文件”,它将打开乐器应用程序。使用核心动画模板。它会告诉你FPS测试你的滚动性能。
#2
2
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!)
你也可以使用这个工具在iOS和Android设备上同时测量FPS,你甚至不需要mac(PC / linux就可以!)
https://www.gamebench.net/en/content/gamebench-desktop-profiler
https://www.gamebench.net/en/content/gamebench-desktop-profiler