Carolina Neves, Chia-Yu Lin, Srishti Nigam, Daumantas Patapas, Ander Eguiluz, Tanjina Islam, I. Malavolta
{"title":"A Study on the Energy Consumption and Performance of Single-Activity Android Apps","authors":"Carolina Neves, Chia-Yu Lin, Srishti Nigam, Daumantas Patapas, Ander Eguiluz, Tanjina Islam, I. Malavolta","doi":"10.1109/GREENS59328.2023.00008","DOIUrl":null,"url":null,"abstract":"Context. A new architecture for Android apps has been recently introduced. It is called single-activity app architecture and it results in Android apps with a completely different structure and runtime behaviour when transitions among screens. Goal. The goal of this research is to assess the impact of the new single-activity architecture on the energy consumption, CPU usage, and memory usage of Android apps. Method. We developed four Android apps: two apps following the single-activity architecture (with basic and advanced complexity) and two apps following the traditional architecture (with basic and advanced complexity). Then, we measure all of them in terms of energy consumption, CPU usage, and memory usage and statistically analyse the collected measures. Results. Our results show a significant difference between single-activity and multiple-activity architecture for the dataset of Energy consumption (advanced complexity app) and Memory usage (basic complexity app) measurements. Conclusions. This study provides evidence that there is a significant difference in energy consumption between the single-activity and multiple-activity architecture on both basic and advanced Android apps.","PeriodicalId":438486,"journal":{"name":"2023 IEEE/ACM 7th International Workshop on Green And Sustainable Software (GREENS)","volume":"229 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE/ACM 7th International Workshop on Green And Sustainable Software (GREENS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GREENS59328.2023.00008","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Context. A new architecture for Android apps has been recently introduced. It is called single-activity app architecture and it results in Android apps with a completely different structure and runtime behaviour when transitions among screens. Goal. The goal of this research is to assess the impact of the new single-activity architecture on the energy consumption, CPU usage, and memory usage of Android apps. Method. We developed four Android apps: two apps following the single-activity architecture (with basic and advanced complexity) and two apps following the traditional architecture (with basic and advanced complexity). Then, we measure all of them in terms of energy consumption, CPU usage, and memory usage and statistically analyse the collected measures. Results. Our results show a significant difference between single-activity and multiple-activity architecture for the dataset of Energy consumption (advanced complexity app) and Memory usage (basic complexity app) measurements. Conclusions. This study provides evidence that there is a significant difference in energy consumption between the single-activity and multiple-activity architecture on both basic and advanced Android apps.