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 language | English |
---|---|
Title of host publication | MOBILESoft '24 |
Subtitle of host publication | Proceedings of the IEEE/ACM 11th International Conference on Mobile Software Engineering and Systems |
Publisher | Association for Computing Machinery, Inc |
Pages | 12-21 |
Number of pages | 10 |
ISBN (Electronic) | 9798400705892 |
DOIs | |
Publication status | Published - 2024 |
Event | 11th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2024 - Lisbon, Portugal Duration: 15 Apr 2024 → … |
Conference
Conference | 11th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2024 |
---|---|
Country/Territory | Portugal |
City | Lisbon |
Period | 15/04/24 → … |
Bibliographical note
Publisher Copyright:© 2024 held by the owner/author(s). Publication rights licensed to ACM.