"iOS test" "essay" Frame rate fps evaluation

Source: Internet
Author: User

Copyright Notice: This article from Fat Meow ~ blog, reprint must indicate the source.

Reprint Please specify source: http://www.cnblogs.com/by-dream/p/5943263.html

  background our new version of the app for the first page of the list of "preload" function, that is, in the case of WiFi network, when sliding to the bottom of the first page of data, the app in the background automatically help you pull off a page of content, so that you do not appear when sliding "chrysanthemum" in the drop, The user experience is much better. However, for this modification, I am afraid that the new preload will affect the performance and cause the page to lag, so I decided to make a basic evaluation of FPS during the sliding of the list page. Process we are using Xcode (Mac version 7.3) with instrument GPU driver for capture, let's look at how to use:First Right-click Xcode to select "Open Developer Tool"-"instruments"

After opening, we first need to select "Tested Device" and "app to evaluate" installed in the device at the top of the device bar, then select "GPU Driver" after completion:

At this time, we entered the GPU driver interface, the upper left corner of the red is the Start button, click on the start to collect data.

Here's a little bit of the pit: when using a jailbreak device, just click on the Red Start button and the phone will restart. The suspicion here is that the jailbreak is the reason.

In the process of acquisition, we can see real-time data:

Here we focus on the column is "core animation Frames per second", this value is up to 60, about nearly 60 the more fluent.

I used the iphone 6s Plus for nearly 60 of the test results in my evaluation, but I found a performance bottleneck when I was using iphone 4:

As we can see from the figure below, there is a noticeable lag in the slide-to-preload grams, resulting in a sudden decrease in frame rate. At this point we can give feedback on this performance problem to the development to solve.

Of course, we can also output some test equipment horizontally, compare the data before and after optimization, such as the following:

test model and version:Android: Beta version: Pre-loaded version (92_ANDROID.APK), non-preloaded version (88_ANDROID.APK) test model: High (Android 6.0 Nexus 5), Medium (an Droid 4.4.4 Oppo A31), Low (Android 4.0.43 Star gt-s7562) IOS: Beta version: Pre-loaded version (3315_SIGN.IPA), not preloaded version (32 90_SIGN.IPA) test model: High (iOS 9 iphone6sp), Medium (iOS 8 iphone5s), Low (iOS 7 iPhone4) test result data:

This is not more intuitive and clear.

"iOS test" "essay" Frame rate fps evaluation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.