Comparative Analysis of MVVM and MVP Patterns Performance on Android Dashboard System
Abstract
The rapid growth of the Android market in various developing countries has driven the demand for higher-quality applications. Developing Android-based applications presents specific challenges, such as the need for responsive designs and optimization for devices with diverse specifications. Design patterns like model-view-controller (MVC), model-view-presenter (MVP), and model-view-viewmodel (MVVM) have become popular approaches to address these issues. However, studies on the performance of design patterns in Android applications, especially in modern programming languages like Kotlin, remain limited. This research aimed to compare the performance of the MVP and MVVM design patterns in an Android-based boarding house management application, KosGX. This application utilized Kotlin and featured an interactive dashboard requiring significant device resources. Testing was conducted by measuring performance across three key aspects: central processing unit (CPU) usage, memory usage, and system response time. The results of the study showed that MVVM outperformed in CPU efficiency, with an average usage of 8.92% compared to 11.15% for MVP. In terms of memory usage, MVVM was also slightly more efficient, with an average usage of 121.48 MB compared to 121.55 MB for MVP. However, MVP excelled in response time, averaging 236.88 ms, whereas MVVM reached 252.68 ms. This study underscores that the choice of design pattern affects application performance. MVVM is more efficient in CPU and memory usage, while MVP offers better response times. These findings provide valuable insights for developers in selecting the optimal design pattern based on the specific needs of their applications.
References
International Data Corporation (IDC) “Worldwide smartphone market forecast to grow 6.2% in 2024, fueled by Robust growth for Android in emerging markets and China, according to IDC.” Access date: 23-Jan-2025. [Online]. Available: https://www.idc.com/getdoc.jsp?containerId=prUS52757624
A. Karapantelakis et al., “Generative AI in mobile networks: A survey,” Ann. Telecommun., vol. 79, no. 1–2, pp. 15–33, Feb. 2024, doi: 10.1007/s12243-023-00980-9.
D. Rimawi and S. Zein, “A static analysis of Android source code for design patterns usage,” Int. J. Adv. Trends Comput. Sci. Eng., vol. 9, no. 2, pp. 2178–2186, Mar./Apr. 2020, doi: 10.30534/ijatcse/2020/194922020.
S. Papadakis, M. Kalogiannakis, and N. Zaranis, “Educational apps from the Android Google Play for Greek preschoolers: A systematic review,” Comput. Educ., vol. 116, pp. 139–160, Jan. 2018, doi: 10.1016/j.compedu.2017.09.007.
J.B. Jorgensen et al., “Variability handling for mobile banking apps on iOS and Android,” in 2016 13th Work. IEEE/IFIP Conf. Softw. Archit. (WICSA), 2016, pp. 283–286, doi: 10.1109/WICSA.2016.29.
F.M. Kundi, A. Habib, A. Habib, and M.Z. Asghar, “Android-based health care management system,” Int. J. Comput. Sci. Inf. Secur. (IJCSIS), vol. 14, no. 7, pp. 77–87, Jul. 2016.
M. Prakash, U. Gowshika, and T. Ravichandran, “A smart device integrated with an Android for alerting a person’s health condition: Internet of things,” Indian J. Sci. Technol., vol. 9, no. 6, pp. 1–6, Feb. 2016, doi: 10.17485/ijst/2016/v9i6/69545.
G.H. Prakash et al., “Development and validation of Android mobile application in the management of mental health,” Clin. Epidemiol. Glob. Health, vol. 31, pp. 1–7, Jan./Feb. 2025, doi: 10.1016/j.cegh.2024.101894.
W. Li, Y. Zhou, S. Luo, and Y. Dong, “Design factors to improve the consistency and sustainable user experience of responsive interface design,” Sustainability, vol. 14, no. 15, pp. 1–26, Aug. 2022, doi: 10.3390/su14159131.
D. Amalfitano, M. Júnior, A.R. Fasolino, and M. Delamaro, “A GUI-based metamorphic testing technique for detecting authentication vulnerabilities in Android mobile apps,” J. Syst. Softw., vol. 224, pp. 1–17, Jun. 2025, doi: 10.1016/j.jss.2025.112364.
N. Hoshieah, S. Zein, N. Salleh, and J. Grundy, “A static analysis of Android source code for lifecycle development usage patterns,” J. Comput. Sci., vol. 15, no. 1, pp. 92–107, Jan. 2019, doi: 10.3844/jcssp.2019.92.107.
B.S. Panca, S. Mardiyanto, and B. Hendradjaya, “Evaluation of software design pattern on mobile application based service development related to the value of maintainability and modularity,” in 2016 Int. Conf. Data Softw. Eng. (ICoDSE), 2016, pp. 1–5, doi: 10.1109/ICODSE.2016.7936132.
B.B. Mayvan, A. Rasoolzadegan, and Z.G. Yazdi, “The state of the art on design patterns: A systematic mapping of the literature,” J. Syst. Softw., vol. 125, pp. 93–118, Mar. 2017, doi: 10.1016/j.jss.2016.11.030.
A. Naghdipour, S.M.H. Hasheminejad, and M.R. Keyvanpour, “DPSA: A brief review for design pattern selection approaches,” in 2021 26th Int. Comput. Conf. Comput. Soc. Iran (CSICC), 2021, pp. 1–6, doi: 10.1109/CSICC52343.2021.9420629.
D. Panchal, “Comparative study on Android design patterns,” Int. Res. J. Eng. Technol., vol. 7, no. 9, pp. 833–840, Sep. 2020.
R.L.B. Baptista, “Framedrop-Mobile Client,” M.S. thesis, University of Coimbra, Coimbra, Portugal, 2023.
B. Wisnuadhi, G. Munawar, and U. Wahyu, “Performance comparison of native Android application on MVP and MVVM,” in Proc. Int. Semin. Sci. Appl. Technol. (ISSAT 2020), 2020, pp. 276–282, doi: 10.2991/aer.k.201221.047.
M. Willocx, J. Vossaert, and V. Naessens, “Comparing performance parameters of mobile app development strategies,” in MOBILESoft '16, Proc. Int. Conf. Mob. Softw. Eng. Syst., 2016, pp. 38–47, doi: 10.1145/2897073.2897092.
R.A. Doherty and P. Sorenson, “Keeping users in the flow: Mapping system responsiveness with user experience,” Procedia Manuf., vol. 3, pp. 4384–4391, 2015, doi: 10.1016/j.promfg.2015.07.436.
F. Rösler, A. Nitze, and A. Schmietendorf, “Towards a mobile application performance benchmark,” in ICIW 2014, 9th Int. Conf. Internet Web Appl. Serv., 2014, pp. 55–59.
G. Lim, C. Min, and Y.I. Eom, “Enhancing application performance by memory partitioning in Android platforms,” in 2013 IEEE Int. Conf. Consum. Electron. (ICCE), 2021, pp. 649–650, doi: 10.1109/ICCE.2013.6487055.
W. Ngaogate, “Applying the Flyweight design pattern to Android application development,” ASEAN J. Sci. Technol. Rep. (AJSTR), vol. 26, no. 2, pp. 49–57, Apr.-Jun. 2023, doi: 10.55164/ajstr.v26i2.247607.
D. Rimawi and S. Zein, “A model based approach for Android design patterns detection,” in 2019 3rd Int. Symp. Multidiscip. Stud. Innov. Technol. (ISMSIT), 2019, pp. 1–10, doi: 10.1109/ISMSIT.2019.8932921.
R.F. García, “MVVM: Model–view–viewmodel,” in iOS Architecture Patterns. Berkeley, CA, USA: Apress, 2023, pp. 145–224.
X. Li, S. Wang, Z. Liu, and G. Wu, “Design and implementation of enterprise web application common framework based on model-view-viewmodel architecture,” in 5th Int. Conf. Mechatron. Comput. Technol. Eng. (MCTE 2022), 2022, pp. 1-4, doi: 10.1117/12.2661040.
M.I. Alfathar et al., “Penerapan MVVM (model view viewmodel) pada pengembangan aplikasi bank sampah digital,” J. Ris. Apl. Mhs. Inform. (JRAMI), vol. 5, no. 2, pp. 406–414, Apr. 2024, doi: 10.30998/jrami.v5i2.11071.
C.J. Sampayo-Rodríguez, R. González-Ambriz, B.A. Gonzalez-Martinez, and J. Aldana-Herrera, “Processor and memory performance with design patterns in a native Android application,” J. Appl. Comput., vol. 6, no. 18, pp. 53–61, Jun. 2022, doi: 10.35429/JCA.2022.18.6.53.61.
F.F. Anhar, M.H.P. Swari, and F.P. Aditiawan, “Analisis perbandingan implementasi clean architecture menggunakan MVP, MVI, dan MVVM pada pengembangan aplikasi Android native,” Jupiter, Publ. Ilmu Keteknikan Ind. Tek. Elekt. Inform., vol. 2, no. 2, pp. 181–191, Mar. 2024, doi: 10.61132/jupiter.v2i2.155.
A. Moreno-Azze, D. López-Plaza, F. Alacid, and D. Falcón-Miguel, “Validity and reliability of an iOS mobile application for measuring change of direction across health, performance, and school sports contexts,” Appl. Sci., vol. 15, no. 4, pp. 1–11, Feb. 2025, doi: 10.3390/app15041891.
L. Corral, A. Sillitti, and G. Succi, “Mobile multiplatform development: An experiment for performance analysis,” Procedia Comput. Sci., vol. 10, pp. 736–743, 2012, doi: 10.1016/j.procs.2012.06.094.
F. Pradana, P. Setyosari, S. Ulfa, and T. Hirashima, “Development of gamification-based e-learning on web design topic,” Int. J. Interact. Mob. Technol. (iJIM), vol. 17, no. 3, pp. 21–38, Feb. 2023, doi: 10.3991/ijim.v17i03.36957.
S. Pargaonkar, “A comprehensive review of performance testing methodologies and best practices: Software quality engineering,” Int. J. Sci. Res. (IJSR), vol. 12, no. 8, pp. 2008–2014, Aug. 2023, doi: 10.21275/SR23822111402.
© Jurnal Nasional Teknik Elektro dan Teknologi Informasi, under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.