Smart Grid and Innovative Frontiers in Telecommunications. Third International Conference, SmartGIFT 2018, Auckland, New Zealand, April 23-24, 2018, Proceedings

Research Article

Optimizing Sliding Performance in iOS

Download
156 downloads
  • @INPROCEEDINGS{10.1007/978-3-319-94965-9_12,
        author={Qin Zhao and Qi Qi and Lejian Zhang and Qiwei Shen},
        title={Optimizing Sliding Performance in iOS},
        proceedings={Smart Grid and Innovative Frontiers in Telecommunications. Third International Conference, SmartGIFT 2018, Auckland, New Zealand, April 23-24, 2018, Proceedings},
        proceedings_a={SMARTGIFT},
        year={2018},
        month={7},
        keywords={Sliding performance AutoLayout Pre-cache Asynchronous FPS},
        doi={10.1007/978-3-319-94965-9_12}
    }
    
  • Qin Zhao
    Qi Qi
    Lejian Zhang
    Qiwei Shen
    Year: 2018
    Optimizing Sliding Performance in iOS
    SMARTGIFT
    Springer
    DOI: 10.1007/978-3-319-94965-9_12
Qin Zhao,*, Qi Qi,*, Lejian Zhang,*, Qiwei Shen,*
    *Contact email: zhaoqin192@gmail.com, qiqi@ebupt.com, zhanglejian@ebupt.com, shenqiwei@ebupt.com

    Abstract

    How to improve iOS sliding performance has always been the focus of iOS application optimization. This paper analyzes the principle of AutoLayout and Frame view layout, the opportunity of network loading, CPU and GPU performance consumption during sliding process. First, we provide the appropriate solution to avoid using AutoLayout, and adjust the time of network loading by preloading to reduce the waiting time dynamically. Pre-cache and asynchronous rendering to reduce the main thread CPU consumption is implemented to reduce the main thread CPU consumption, and at the same time, GPU consumption is reduced by asynchronous rendering. Finally, verify the feasibility and effectiveness of the optimization scheme by experiments. It is verified that the percentage of the main thread CPU consumption decreases by 17.2% and FPS increases from 37 Hz to 60 Hz.