Assessing the Impact of Service Workers on the Energy Efficiency of Progressive Web Apps

Assessing the Impact of Service Workers on the Energy Efficiency of Progressive Web Apps
复制标题

评估 Service Worker 对渐进式 Web 应用程序能源效率的影响

DOI:
--
复制
发表时间:
2017
期刊:
International Conference on Mobile Software Engineering and Systems
影响因子:
--
通讯作者:
Petar Vukmirović
Petar Vukmirović
中科院分区:
--
文献类型:
--
作者:
I. Malavolta;Giuseppe Procaccianti;Paul Noorland;Petar Vukmirović

文献摘要

被引文献

相似文献

语境。移动网络应用程序占据了当今互联网的很大一部分。然而,它们在用户体验方面仍然落后于原生应用程序。渐进式 Web 应用程序 (PWA) 是 Google 推出的一项新技术,旨在弥合这一差距,其核心是一组称为服务工作者的 API。目标。在本文中,我们提出了一项实证研究,评估了在两代不同代移动设备上的不同网络条件下运行时,服务工作者对 PWA 能源效率的影响。方法。我们设计了一个实证实验,主要考虑两个因素:服务人员的使用和可用网络的类型(2G 或 WiFi)。我们通过在两台设备(LG G2 和 Nexus 6P)上运行总共 7 个 PWA 来进行实验,我们将其评估为阻塞因素。我们的响应变量是设备的能耗。结果。我们的结果表明,无论网络条件如何,服务工作人员都不会对两台设备的能耗产生重大影响。此外,没有检测到这两个因素之间存在相互作用。然而,数据中的一些模式显示了 PWA 之间的不同行为。结论。本文代表了对 PWA 的首次实证研究。我们的结果表明,PWA 和 Service Worker 技术在能源效率方面很有前景。
Context. Mobile web apps represent a large share of the Internet today. However, they still lag behind native apps in terms of user experience. Progressive Web Apps (PWAs) are a new technology introduced by Google that aims at bridging this gap, with a set of APIs known as service workers at its core. Goal. In this paper, we present an empirical study that evaluates the impact of service workers on the energy efficiency of PWAs, when operating in different network conditions on two different generations of mobile devices. Method. We designed an empirical experiment with two main factors: the use of service workers and the type of network available (2G or WiFi). We performed the experiment by running a total of 7 PWAs on two devices (an LG G2 and a Nexus 6P) that we evaluated as blocking factor. Our response variable is the energy consumption of the devices. Results. Our results show that service workers do not have a significant impact over the energy consumption of the two devices, regardless of the network conditions. Also, no interaction was detected between the two factors. However, some patterns in the data show different behaviors among PWAs. Conclusions. This paper represents a first empirical investigation on PWAs. Our results show that the PWA and service workers technology is promising in terms of energy efficiency.