Skip to main content

Optimizing Sliding Performance in iOS

  • Conference paper
  • First Online:
Smart Grid and Innovative Frontiers in Telecommunications (SmartGIFT 2018)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Badros, G.J., Borning, A., Stuckey, P.J.: The Cassowary linear arithmetic constraint solving algorithm. ACM Trans. Comput.-Hum. Interact. 8(4), 267–306 (2001)

    Article  Google Scholar 

  2. Novac, O.C., Novac, M., Gordan, C., Berczes, T.: Comparative study of Google Android, Apple iOS and Microsoft Windows phone mobile operating systems. In: 2017 14th International Conference on Engineering of Modern Electric Systems (EMES). Oradea, Romania, pp. 154–159 (2017)

    Google Scholar 

  3. Wetchakorn, T., Prompoon, N.: Method for mobile user interface design patterns creation for iOS platform. In: 2015 12th International Joint Conference on Computer Science and Software Engineering (JCSSE), Songkhla, Thailand, pp. 150–155 (2015)

    Google Scholar 

  4. Bournoutian, G., Orailoglu, A.: On-device Objective-C application optimization framework for high performance mobile processors. In: Design, Automation & Test in Europe Conference & Exhibition (DATE), Dresden, Germany, pp. 1–6 (2014)

    Google Scholar 

  5. Ferreira, P.: Reclaiming storage in an object oriented platform supporting extended C++ and Objective-C applications. In: Proceedings 1991 International Workshop on Object Orientation in Operating Systems, Palo Alto, CA, USA, pp. 100–102 (1991)

    Google Scholar 

  6. Gutierrez, A., Dreslinski, R.G., Wenisch, T.F.: Full-system analysis and characterization of interactive smartphone applications. In: 2011 IEEE International Symposium on Workload Characterization (IISWC), Austin, TX, USA, pp. 81–90 (2011)

    Google Scholar 

  7. Develop Apple. https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/AutolayoutPG/index.html

  8. WikiPedia. https://en.wikipedia.org/wiki/FPS

  9. Develop Apple. https://developer.apple.com/documentation/uikit/uitableview

  10. Develop Apple. https://developer.apple.com/documentation/uikit/uicollectionview

  11. Develop Apple. https://developer.apple.com/documentation/uikit/uilabel

  12. Develop Apple. https://developer.apple.com/reference/quartzcore/calayer

  13. Develop Apple. https://developer.apple.com/documentation/coretext

  14. Develop Apple. https://developer.apple.com/documentation/coretext/ctframe

  15. Develop Apple. https://developer.apple.com/documentation/coretext/ctline

  16. Develop Apple. https://developer.apple.com/documentation/coretext/ctrun-61n

  17. Xu, P., Yin, Q., Huang, Y., Song, Y.-Z., Ma, Z., Wang, L., Xiang, T., Kleijn, W.B., Guo, J.: Cross-modal subspace learning for fine-grained sketch-based image retrieval. Neurocomputing 278, 75–86 (2018)

    Article  Google Scholar 

  18. Ma, Z., Xue, J.-H., Leijon, A., Tan, Z.-H., Yang, Z., Guo, J.: Decorrelation of neutral vector variables: theory and applications. IEEE Trans. Neural Netw. Learn. Syst. 29(1), 129–143 (2018)

    Article  MathSciNet  Google Scholar 

  19. Liu, W., Cao, J., Yang, L., Xu, L., Qiu, X., Li, J.: AppBooster: boosting the performance of interactive mobile applications with computation offloading and parameter tuning. IEEE Trans. Parallel Distrib. Syst. 28(6), 1593–1606 (2017)

    Article  Google Scholar 

  20. Ma, Z., Rana, P.K., Taghia, J., Flierl, M., Leijon, A.: Bayesian estimation of Dirichlet mixture model with variational inference. Pattern Recogn. 47(9), 3143–3157 (2014)

    Article  Google Scholar 

Download references

Acknowledgement

This work was supported in part by the (1) National Natural Science Foundation of China (No. 61671079, 61771068, 61471063) (2) Beijing Municipal Natural Science Foundation (No. 4182041).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Qi Qi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zhao, Q., Qi, Q., Zhang, L., Shen, Q. (2018). Optimizing Sliding Performance in iOS. In: Chong, P., Seet, BC., Chai, M., Rehman, S. (eds) Smart Grid and Innovative Frontiers in Telecommunications. SmartGIFT 2018. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 245. Springer, Cham. https://doi.org/10.1007/978-3-319-94965-9_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-94965-9_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-94964-2

  • Online ISBN: 978-3-319-94965-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics