Proceedings of the International Seminar of Science and Applied Technology (ISSAT 2020)

Performance Comparison of Native Android Application on MVP and MVVM

Authors
Bambang Wisnuadhi, Ghifari Munawar, Ujang Wahyu
Corresponding Author
Ghifari Munawar
Available Online 22 December 2020.
DOI
10.2991/aer.k.201221.047How to use a DOI?
Keywords
Mobile Development, Software Architecture, MVP, MVVM, Performance Comparison
Abstract

The performance of the android application is one factor that needs to be considered because an android device has limited power, memory and resources. This is a challenge for developers to improve performance so that applications can run optimally. There are several architectures that are commonly used, namely MVC, MVP, and MVVM. Previous studies have measured performance among the three architectures, and it can be concluded that the performance of MVC < (MVP = MVVM), but between MVP and MVVM which is better is still unclear. This study aims to compare the performance of MVP and MVVM architectures measured from 3 (three) aspects, namely CPU usage, memory usage, and execution time. Based on experiments, the results show that MVVM performance is better at CPU usage and execution time, while MVP is better at memory usage. CPU usage in MVVM applications is lower with an average difference of 0.55%. Execution time in MVVM applications is faster with an average difference of 126.21 ms, while memory usage in MVP applications is lower with an average difference of 0.92 Mb. This happens because the MVVM architecture has an additional library (in the form of a data-binding) that can increase application response so that CPU usage and execution time are better, but another impact is its memory usage is higher than MVP.

Copyright
© 2020, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Download article (PDF)

Volume Title
Proceedings of the International Seminar of Science and Applied Technology (ISSAT 2020)
Series
Advances in Engineering Research
Publication Date
22 December 2020
ISBN
978-94-6239-307-3
ISSN
2352-5401
DOI
10.2991/aer.k.201221.047How to use a DOI?
Copyright
© 2020, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - CONF
AU  - Bambang Wisnuadhi
AU  - Ghifari Munawar
AU  - Ujang Wahyu
PY  - 2020
DA  - 2020/12/22
TI  - Performance Comparison of Native Android Application on MVP and MVVM
BT  - Proceedings of the International Seminar of Science and Applied Technology (ISSAT 2020)
PB  - Atlantis Press
SP  - 276
EP  - 282
SN  - 2352-5401
UR  - https://doi.org/10.2991/aer.k.201221.047
DO  - 10.2991/aer.k.201221.047
ID  - Wisnuadhi2020
ER  -