skip to main content
research-article

A comparative study on the energy consumption of Progressive Web Apps

Published: 01 September 2022 Publication History

Abstract

Progressive Web Apps (PWAs) are a promising approach for developing mobile apps, especially when developing apps for multiple mobile systems. As mobile devices are limited with respect to battery capacity, developers should keep the energy footprint of a mobile app as low as possible. The goal of this study is to analyze the difference in energy consumption of PWAs compared to other mobile development approaches. As mobile apps are primarily interactive in nature, we focus on UI rendering and interaction scenarios. For this, we implemented five versions of the same app with different development approaches and examined their energy footprint on two Android devices with four execution scenarios. Additionally, we extended our research by analyzing multiple real-world mobile apps to include a more practical perspective. Regarding execution environments, we also compared the energy consumption of PWAs executed in different web-browsers. The results based on sample and real-world apps show that the used development approach influences the energy footprint of a mobile app. Native development shows the lowest energy consumption. PWAs, albeit having a higher energy consumption than native apps, are a viable alternative to other mobile cross-platform development (MCPD) approaches. The experiments could not assert an inherent technological disadvantage of PWAs in contrast to other MCPD approaches when considering UI energy consumption. Moreover, the web-browser engine used to execute the PWA has a significant influence on the energy footprint of the app.

Highlights

Thorough analysis of the energy consumption of sample apps and real-world apps.
Progressive web apps are a viable alternative to other mobile development approaches.
Web-browsers have a significant influence on the energy consumption of a PWA.
Comprehensive replication package comprising accompanying research artifacts.

References

[1]
Pramanik P.K.D., Sinhababu N., Mukherjee B., Padmanaban S., Maity A., Upadhyaya B.K., Holm-Nielsen J.B., Choudhury P., Power consumption analysis, measurement, management, and issues: A state-of-the-art review of smartphone battery and energy usage, IEEE Access (2019).
[2]
S. Hosio, D. Ferreira, J. Goncalves, N. van Berkel, C. Luo, M. Ahmed, H. Flores, V. Kostakos, Monetary assessment of battery life on smartphones, in: Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems, 2016, pp. 1869–1880.
[3]
Wilke C., Richly S., Götz S., Piechnick C., Aßmann U., Energy consumption and efficiency in mobile applications: A user feedback study, in: 2013 IEEE International Conference on Green Computing and Communications and IEEE Internet of Things and IEEE Cyber, Physical and Social Computing, IEEE, 2013.
[4]
Manotas I., Bird C., Zhang R., Shepherd D., Jaspan C., Sadowski C., Pollock L., Clause J., An empirical study of practitioners’ perspectives on green software engineering, in: 2016 IEEE/ACM 38th International Conference on Software Engineering, ICSE, IEEE, 2016, pp. 237–248.
[5]
G. Pinto, F. Castor, Y.D. Liu, Mining questions about software energy consumption, in: Proceedings of the 11th Working Conference on Mining Software Repositories, 2014, pp. 22–31.
[6]
El-Kassas W.S., Abdullah B.A., Yousef A.H., Wahba A.M., Taxonomy of cross-platform mobile applications development approaches, Ain Shams Eng. J. (2017).
[7]
Baresi L., Griswold W., Lewis G., Autili M., Malavolta I., Julien C., Trends and challenges for software engineering in the mobile domain, IEEE Softw. 38 (1) (2021) 88–96.
[8]
Joorabchi M.E., Mesbah A., Kruchten P., Real challenges in mobile app development, in: 2013 ACM / IEEE International Symposium on Empirical Software Engineering and Measurement, IEEE, Baltimore, MD, USA, 2013, pp. 15–24.
[9]
Corbalan L., Fernandez J., Cuitiño A., Delia L., Cáseres G., Thomas P., Pesado P., Development frameworks for mobile devices: a comparative study about energy consumption, in: 2018 IEEE/ACM 5th International Conference on Mobile Software Engineering and Systems, MOBILESoft, ACM/IEEE, Gothenburg, Sweden, 2018.
[10]
W. Oliveira, R. Oliveira, F. Castor, A study on the energy consumption of Android app development approaches, in: Proceedings of the 14th International Conference on Mining Software Repositories, 2017, pp. 42–52.
[11]
Vallerio K.S., Zhong L., Jha N.K., Energy-efficient graphical user interface design, IEEE Trans. Mob. Comput. 5 (7) (2006) 846–859.
[12]
Wohlin C., Runeson P., Höst M., Ohlsson M.C., Regnell B., Wesslén A., Experimentation in Software Engineering, Springer Science & Business Media, 2012.
[13]
Huber S., Demetz L., Felderer M., PWA Vs the others: A comparative study on the UI energy-efficiency of progressive web apps, in: Brambilla M., Chbeir R., Frasincar F., Manolescu I. (Eds.), Web Engineering. ICWE 2021, in: Lecture Notes in Computer Science book series (LNCS, vol. 12706), Springer International Publishing, ISBN 978-3-030-74296-6, 2021, pp. 464–479,.
[14]
Xanthopoulos S., Xinogalos S., A comparative analysis of cross-platform development approaches for mobile applications, in: Proceedings of the 6th Balkan Conference in Informatics on - BCI’13, ACM Press, 2013.
[15]
Majchrzak T.A., rn Hansen A.B., Grønli T.-M., Comprehensive analysis of innovative cross-platform app development frameworks, in: Proceedings of the 50th Hawaii International Conference on System Sciences, Hawaii International Conference on System Sciences, Hawaii, USA, 2017, pp. 6162–6171.
[16]
Raj C.R., Tolety S.B., A study on approaches to build cross-platform mobile applications and criteria to select appropriate approach, in: 2012 Annual IEEE India Conference, INDICON, IEEE, 2012, pp. 625–629.
[17]
Ribeiro A., da Silva A.R., Survey on cross-platforms and languages for mobile apps, in: 2012 Eighth International Conference on the Quality of Information and Communications Technology, Ieee, 2012, pp. 255–260.
[18]
Biørn-Hansen A., Grønli T.-M., Ghinea G., A survey and taxonomy of core concepts and research challenges in cross-platform mobile development, ACM Comput. Surv. (2018).
[19]
Biø rn Hansen A., Majchrzak T.A., Grønli T.-M., Progressive web apps: The possible web-native unifier for mobile development, in: Proceedings of the 13th International Conference on Web Information Systems and Technologies, WEBIST 2017, SciTePress, Porto, Portugal, 2017.
[20]
Heitkötter H., Majchrzak T.A., Cross-platform development of business apps with MD2, in: vom Brocke J., Hekkala R., Ram S., Rossi M. (Eds.), Design Science at the Intersection of Physical and Virtual Design, Springer Berlin Heidelberg, Berlin, Heidelberg, ISBN 978-3-642-38827-9, 2013, pp. 405–411.
[21]
Russell A., Progressive web apps: Escaping tabs without losing our soul, 2015, https://infrequently.org/2015/06/progressive-apps-escaping-tabs-without-losing-our-soul/.
[22]
Majchrzak T.A., Biørn-Hansen A., Grønli T.-M., Progressive web apps: the definite approach to cross-platform development?, in: Proceedings of the 51st Hawaii International Conference on System Sciences, HICSS 2018, IEEE, Hawaii, USA, 2018.
[23]
Cáceres M., Christiansen K., Kostiainen A., Giuca M., Gustafson A., Web application manifest, 2021, URL: https://www.w3.org/TR/appmanifest.
[24]
Russell A., Song J., Archibald J., Kruisselbrink M., Service workers 1, 2019, URL: https://www.w3.org/TR/service-workers.
[25]
Firtman M., Google play store now open for progressive web apps, 2019, URL: http://bit.ly/3dKYSOp.
[26]
Microsoft M., Progressive web apps in the microsoft store, 2020, URL: http://bit.ly/3qXRAum.
[27]
Malavolta I., Beyond native apps: Web technologies to the rescue! (keynote), in: Proceedings of the 1st International Workshop on Mobile Development, in: Mobile! 2016, Association for Computing Machinery, New York, NY, USA, ISBN 9781450346436, 2016.
[28]
A. Banerjee, L.K. Chong, S. Chattopadhyay, A. Roychoudhury, Detecting energy bugs and hotspots in mobile apps, in: Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering, 2014, pp. 588–598.
[29]
Liu Y., Xu C., Cheung S.-C., Lü J., Greendroid: Automated diagnosis of energy inefficiency for smartphone applications, IEEE Trans. Softw. Eng. 40 (9) (2014) 911–940.
[30]
Banerjee A., Chong L.K., Ballabriga C., Roychoudhury A., Energypatch: Repairing resource leaks to improve energy-efficiency of android apps, IEEE Trans. Softw. Eng. 44 (5) (2017) 470–490.
[31]
Palomba F., Di Nucci D., Panichella A., Zaidman A., De Lucia A., On the impact of code smells on the energy consumption of mobile applications, Inf. Softw. Technol. 105 (2019) 43–55.
[32]
Cruz L., Abreu R., Performance-based guidelines for energy efficient mobile applications, in: 2017 IEEE/ACM 4th International Conference on Mobile Software Engineering and Systems, MOBILESoft, IEEE, 2017, pp. 46–57.
[33]
Cruz L., Abreu R., Catalog of energy patterns for mobile applications, Empir. Softw. Eng. 24 (4) (2019) 2209–2235.
[34]
S. Hasan, Z. King, M. Hafiz, M. Sayagh, B. Adams, A. Hindle, Energy profiles of java collections classes, in: Proceedings of the 38th International Conference on Software Engineering, 2016, pp. 225–236.
[35]
M. Linares-Vásquez, G. Bavota, C. Bernal-Cárdenas, R. Oliveto, M. Di Penta, D. Poshyvanyk, Mining energy-greedy api usage patterns in android apps: an empirical study, in: Proceedings of the 11th Working Conference on Mining Software Repositories, 2014, pp. 2–11.
[36]
J. Huang, F. Qian, A. Gerber, Z.M. Mao, S. Sen, O. Spatscheck, A close examination of performance and power characteristics of 4G LTE networks, in: Proceedings of the 10th International Conference on Mobile Systems, Applications, and Services, 2012, pp. 225–238.
[37]
Dutta K., Vandermeer D., Caching to reduce mobile app energy consumption, ACM Trans. Web (TWEB) 12 (1) (2017) 1–30.
[38]
Li D., Lyu Y., Gui J., Halfond W.G., Automated energy optimization of http requests for mobile applications, in: 2016 IEEE/ACM 38th International Conference on Software Engineering, ICSE, IEEE, 2016, pp. 249–260.
[39]
Chen L., Wang L., Zhang D., Li S., Pan G., Enup: Energy-efficient data uploading for mobile crowd sensing applications, in: 2016 Intl IEEE Conferences on Ubiquitous Intelligence & Computing, Advanced and Trusted Computing, Scalable Computing and Communications, Cloud and Big Data Computing, Internet of People, and Smart World Congress, UIC/ATC/ScalCom/CBDCom/IoP/SmartWorld, IEEE, 2016, pp. 1074–1078.
[40]
Chamas C.L., Cordeiro D., Eler M.M., Comparing REST, SOAP, socket and gRPC in computation offloading of mobile applications: An energy cost analysis, in: 2017 IEEE 9th Latin-American Conference on Communications, LATINCOM, IEEE, 2017, pp. 1–6.
[41]
Chowdhury S.A., Sapra V., Hindle A., Client-side energy efficiency of HTTP/2 for web and mobile app developers, in: 2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering, Vol. 1, SANER, IEEE, 2016, pp. 529–540.
[42]
I. Malavolta, K. Chinnappan, L. Jasmontas, S. Gupta, K.A.K. Soltany, Evaluating the Impact of Caching on the Energy Consumption and Performance of Progressive Web Apps, in: 7th IEEE/ACM International Conference on Mobile Software Engineering and Systems 2020, 2020.
[43]
Malavolta I., Procaccianti G., Noorland P., Vukmirović P., Assessing the impact of service workers on the energy efficiency of progressive web apps, in: Proceedings of the 4th International Conference on Mobile Software Engineering and Systems, IEEE Press, Buenos Aires, Argentina, 2017.
[44]
Wen Y., Zhang W., Luo H., Energy-optimal mobile application execution: Taming resource-poor mobile devices with cloud clones, in: 2012 Proceedings Ieee Infocom, IEEE, 2012, pp. 2716–2720.
[45]
E. Cuervo, A. Balasubramanian, D.-k. Cho, A. Wolman, S. Saroiu, R. Chandra, P. Bahl, Maui: making smartphones last longer with code offload, in: Proceedings of the 8th International Conference on Mobile Systems, Applications, and Services, 2010, pp. 49–62.
[46]
Wan M., Jin Y., Li D., Halfond W.G., Detecting display energy hotspots in Android apps, in: 2015 IEEE 8th International Conference on Software Testing, Verification and Validation, ICST, IEEE, 2015, pp. 1–10.
[47]
Agolli T., Pollock L., Clause J., Investigating decreasing energy usage in mobile apps via indistinguishable color changes, in: 2017 IEEE/ACM 4th International Conference on Mobile Software Engineering and Systems, MOBILESoft, IEEE, 2017, pp. 30–34.
[48]
Linares-Vásquez M., Bernal-Cárdenas C., Bavota G., Oliveto R., Di Penta M., Poshyvanyk D., Gemma: multi-objective optimization of energy consumption of guis in android apps, in: 2017 IEEE/ACM 39th International Conference on Software Engineering Companion, ICSE-C, IEEE, 2017, pp. 11–14.
[49]
X. Chen, K.W. Nixon, H. Zhou, Y. Liu, Y. Chen, Fingershadow: An OLED power optimization based on smartphone touch interactions, in: 6th Workshop on Power-Aware Computing and Systems, HotPower 14, 2014.
[50]
Lin H.-Y., Hsiu P.-C., Kuo T.-W., ShiftMask: Dynamic OLED power shifting based on visual acuity for interactive mobile applications, in: 2017 IEEE/ACM International Symposium on Low Power Electronics and Design, ISLPED, IEEE, 2017, pp. 1–6.
[51]
Liu Y., Xu C., Cheung S.-C., Where has my battery gone? Finding sensor related energy black holes in smartphone applications, in: 2013 IEEE International Conference on Pervasive Computing and Communications, PerCom, IEEE, 2013, pp. 2–10.
[52]
Oshin T.O., Poslad S., Ma A., Improving the energy-efficiency of GPS based location sensing smartphone applications, in: 2012 IEEE 11th International Conference on Trust, Security and Privacy in Computing and Communications, IEEE, 2012, pp. 1698–1705.
[53]
Taleb S., Abbas N., Hajj H., Dawy Z., On sensor selection in mobile devices based on energy, application accuracy, and context metrics, in: 2013 Third International Conference on Communications and Information Technology, ICCIT, IEEE, 2013, pp. 12–16.
[54]
Ciman M., Gaggi O., An empirical analysis of energy consumption of cross-platform frameworks for mobile development, Pervasive Mob. Comput. (2017).
[56]
M. Ali, A. Mesbah, Mining and characterizing hybrid apps, in: Proceedings of the International Workshop on App Market Analytics, 2016, pp. 50–56.
[57]
CapacitorJS M., Cordova and PhoneGap, 2020, https://capacitorjs.com/docs/cordova.
[58]
Cruz L., Abreu R., On the energy footprint of mobile testing frameworks, IEEE Trans. Softw. Eng. (2019).
[59]
Hoque M.A., Siekkinen M., Khan K.N., Xiao Y., Tarkoma S., Modeling, profiling, and debugging the energy consumption of mobile devices, ACM Comput. Surv. (2015).
[60]
Shapiro S.S., Wilk M.B., An analysis of variance test for normality (complete samples), Biometrika 52 (3/4) (1965) 591–611.
[61]
McKnight P.E., Najab J., Mann-whitney U test, in: The Corsini Encyclopedia of Psychology, Wiley Online Library, 2010, p. 1.
[62]
Bonferroni C., Teoria Statistica Delle Classi E Calcolo Delle Probabilita, Vol. 8, Pubblicazioni Del R Istituto Superiore Di Scienze Economiche E Commericiali Di Firenze, 1936, pp. 3–62.
[63]
Cliff N., Dominance statistics: Ordinal analyses to answer ordinal questions, Psychol. Bull. 114 (3) (1993) 494.
[64]
Rieger C., Majchrzak T.A., Towards the definitive evaluation framework for cross-platform app development approaches, J. Syst. Softw. 153 (2019) 175–199.
[65]
Di Nucci D., Palomba F., Prota A., Panichella A., Zaidman A., De Lucia A., Software-based energy profiling of android apps: Simple, efficient and reliable?, in: 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering, SANER, IEEE, 2017, pp. 103–114.

Cited By

View all
  • (2024)Progressive Web Application for Storytelling Therapy SupportProceedings of the XXIV International Conference on Human Computer Interaction10.1145/3657242.3658588(1-8)Online publication date: 19-Jun-2024
  • (2023)SensorLib: an Energy-efficient Sensor-collection Library for Wear OSProceedings of the 4th European Symposium on Software Engineering10.1145/3651640.3651641(83-88)Online publication date: 1-Dec-2023
  • (2023)Analyzing the Resource Usage Overhead of Mobile App Development FrameworksProceedings of the 27th International Conference on Evaluation and Assessment in Software Engineering10.1145/3593434.3593487(152-161)Online publication date: 14-Jun-2023
  • Show More Cited By

Index Terms

  1. A comparative study on the energy consumption of Progressive Web Apps
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Information & Contributors

        Information

        Published In

        cover image Information Systems
        Information Systems  Volume 108, Issue C
        Sep 2022
        412 pages

        Publisher

        Elsevier Science Ltd.

        United Kingdom

        Publication History

        Published: 01 September 2022

        Author Tags

        1. Mobile software development
        2. Energy-efficiency
        3. Progressive Web Apps
        4. Mobile cross-platform development

        Qualifiers

        • Research-article

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • Downloads (Last 12 months)0
        • Downloads (Last 6 weeks)0
        Reflects downloads up to 15 Sep 2024

        Other Metrics

        Citations

        Cited By

        View all
        • (2024)Progressive Web Application for Storytelling Therapy SupportProceedings of the XXIV International Conference on Human Computer Interaction10.1145/3657242.3658588(1-8)Online publication date: 19-Jun-2024
        • (2023)SensorLib: an Energy-efficient Sensor-collection Library for Wear OSProceedings of the 4th European Symposium on Software Engineering10.1145/3651640.3651641(83-88)Online publication date: 1-Dec-2023
        • (2023)Analyzing the Resource Usage Overhead of Mobile App Development FrameworksProceedings of the 27th International Conference on Evaluation and Assessment in Software Engineering10.1145/3593434.3593487(152-161)Online publication date: 14-Jun-2023
        • (2023)On the Energy-Efficiency of Hybrid UI Components for Mobile Cross-Platform DevelopmentWeb Engineering10.1007/978-3-031-34444-2_18(247-261)Online publication date: 6-Jun-2023

        View Options

        View options

        Get Access

        Login options

        Media

        Figures

        Other

        Tables

        Share

        Share

        Share this Publication link

        Share on social media