An Empirical Study on the Impact of CSS Prefixes on the Energy Consumption and Performance of Mobile Web Apps

Andrei Bogdan, Ivano Malavolta

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

Abstract

Context. Many mobile web apps are using CSS vendor prefixes today. The presence of CSS prefixes might impact the energy consumption and performance of mobile web apps.Goal. The goal of this research is to empirically assess the impact of using CSS prefixes on the energy consumption and performance of mobile web apps.Method. To assess the impact of CSS prefixes, we mine 25 real mobile web apps and create two variants for each of them, one with CSS prefixes and one without them. Then, we load the mobile web apps on two Android devices across three different browsers (i.e., Google Chrome, Mozilla Firefox, and Opera). For each run of the experiment, we measure the energy consumption, page load time, and CPU usage of the targeted browser.Results. CSS prefixes do not lead to an observable impact on the energy consumption of the measured Web apps, while their absence leads to a statistically significant increase of CPU usage in all browsers. The presence of CSS prefixes has a statistically significant negative impact on the loading time in all browsers and devices. Conclusions. Assuming that the targeted mobile web app loads properly without CSS prefixes, we advise web developers to remove CSS prefixes if their goal is to reduce page load time. We collect and discuss strategies about how to safely remove CSS prefixes without incurring compatibility issues. The choice of whether to use CSS vendor prefixes should be made with consideration of the targeted devices and browsers, especially when dealing with energy consumption and CPU usage.

Original languageEnglish
Title of host publicationMOBILESoft '24
Subtitle of host publicationProceedings of the IEEE/ACM 11th International Conference on Mobile Software Engineering and Systems
PublisherAssociation for Computing Machinery, Inc
Pages12-21
Number of pages10
ISBN (Electronic)9798400705892
DOIs
Publication statusPublished - 2024
Event11th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2024 - Lisbon, Portugal
Duration: 15 Apr 2024 → …

Conference

Conference11th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2024
Country/TerritoryPortugal
CityLisbon
Period15/04/24 → …

Bibliographical note

Publisher Copyright:
© 2024 held by the owner/author(s). Publication rights licensed to ACM.

Fingerprint

Dive into the research topics of 'An Empirical Study on the Impact of CSS Prefixes on the Energy Consumption and Performance of Mobile Web Apps'. Together they form a unique fingerprint.

Cite this