Performance analysis of user interface implementation methods in mobile applications


Abstract

The purpose of this article is to analyze the impact of Jetpack Compose on user interface performance in mobile applications. A relatively new technology, Jetpack Compose, has not seen much research on its performance. The study used applications written in Kotlin, using the Jetpack Compose toolkit and views. The applications were tested with performance tests, using the Macrobenchmark tool, UI Automator 2 and JUnit 5. A literature review examining the impact of many factors on UI and Android performance was performed. In the end, upon completion of the testing, it was concluded that Jetpack Compose is slightly inferior in performance compared to interfaces built with views, in return it offers faster and easier code development.


Keywords

testing; user interface; jetpack compose; performance

Wywiad z Martinem Cooperem, wynalazcą telefonów komórkowych, http://news.bbc.co.uk/1/hi/programmes/click_online/8639590.stm, [21.09.2022].

Udział w rynku mobilnych systemów operacyjnych na świecie, https://gs.statcounter.com/os-market-share/mobile/worldwide, [26.01.2021].

J. Fu, Y. Wang, Y. Zhou, X. Wang, How resource utilization influences UI responsiveness of Android software, Information and Software Technology 141 (2022) 1-11, https://doi.org/10.1016/j.infsof.2021.106728.

R. Vala, R. Jasek, Performance of Hybrid Mobile Application UI Frameworks, in: V. Mladenov, I.Rudas, O. Martin, G. Tsenov, P. M. Pardalos, M. Hromada, Proceedings of the 2014 Intertnational Conference on Applied Mathematics, Computational Science & Engineering (AMCSE 2014), Varna, Bulgaria, September 13-15, 2014.

W. Jung, The Effect of Representational UI Design Quality of Mobile Shopping Applications on Users Intention to Shop, Procedia Computer Science 121 (2017) 166-169.

S. L. T. Hui, S. L. See, Enhancing user experience through customisation of UI design, Procedia Manufacturing 3 (2015) 1932–1937.

L. Corrala, I. Fronzab, T. Mikkonenc, User Interface Matters: Analysing the Complexity of Mobile Applications from a Visual Perspective, Procedia Computer Science 191 (2021) 9-16.

Informacje o języku kotlin, https://kotlinlang.org/docs/home.html, [21.09.2022].

Informacje o narzędziu Jetpack Compose, https://developer.android.com/jetpack/compose/documentation, [21.09.2022].

Dokumentacja narzędzia Macrobenchmark, https://developer.android.com/topic/performance/benchmarking/macrobenchmark-overview, [21.0

Download

Published : 2023-03-30


Szczukin, J. (2023). Performance analysis of user interface implementation methods in mobile applications. Journal of Computer Sciences Institute, 26, 13-17. https://doi.org/10.35784/jcsi.3070

Jakub Szczukin  jakub.szczukin@pollub.edu.pl
  Poland