Comparative Analysis of MVVM and MVP Patterns Performance on Android Dashboard System
Authors:
Open Access
- 16 May 2025
- journal article
- Published by Universitas Gadjah Mada in Jurnal Nasional Teknik Elektro dan Teknologi Informasi
- Vol. 14 (2) , 87-95
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 aims 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.Keywords
This publication has 25 references indexed in Scilit:
- A GUI-based Metamorphic Testing Technique for Detecting Authentication Vulnerabilities in Android Mobile AppsJournal of Systems and Software, 2025
- Development and validation of android mobile application in the management of mental healthClinical Epidemiology and Global Health, 2024
- Generative AI in mobile networks: a surveyAnnals of Telecommunications, 2023
- DPSA: A Brief Review for Design Pattern Selection Approaches2021
- Educational apps from the Android Google Play for Greek preschoolers: A systematic reviewComputers & Education, 2018
- The state of the art on design patterns: A systematic mapping of the literatureJournal of Systems and Software, 2017
- Evaluation of software design pattern on mobile application based service development related to the value of maintainability and modularity2016
- Keeping Users in the Flow: Mapping System Responsiveness with User ExperienceProcedia Manufacturing, 2015
- Enhancing application performance by memory partitioning in Android platforms2013
- Mobile Multiplatform Development: An Experiment for Performance AnalysisProcedia Computer Science, 2012