arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2003.06477cs.PFcs.NI
收藏

使用Android的Battery-Saver模式的Web性能

Web Performance with Android's Battery-Saver Mode

Utkarsh Goel, Stephen Ludin, Moritz Steiner

摘要:

Web浏览器利用设备的CPU来解析HTML,构建文档对象模型、级联样式表对象模型和渲染树,以及解析、编译和执行计算量大的JavaScript。需要一个强大的CPU来尽快执行这些任务,并为用户提供良好的体验。然而,CPU性能的提高伴随着移动设备上功耗的增加和电池寿命的缩短。作为延长电池续航时间的一个选项,Android提供了一种电池节省模式,激活该模式后,将关闭设备上耗电量大且速度更快的处理器内核,并打开电池节省且速度更慢的处理器内核。从使用更快的处理器内核到使用更慢的处理器内核的转换会限制设备上的CPU时钟速度,因此会影响网页加载过程。我们利用一个大规模的数据集收集的一个主要的内容分发网络的真实用户监测系统,调查Android的电池节省模式对各种移动Web性能指标的影响。我们的分析表明,当电池节省模式处于活动状态时,华为和索尼精选智能手机的用户会经历突然或逐渐的Web性能下降。然而,新旗舰智能手机上的节电模式不会影响移动Web性能。最后,我们鼓励新的网站设计目标,善待缓慢(和节流CPU)的设备,有利于改善最终用户体验,并建议Web性能测量应该知道用户设备的电池电量水平,以正确地关联Web性能。

英文摘要:

A Web browser utilizes a device's CPU to parse HTML, build a Document Object Model, a Cascading Style Sheets Object Model, and render trees, and parse, compile, and execute computationally-heavy JavaScript. A powerful CPU is required to perform these tasks as quickly as possible and provide the user with a great experience. However, increased CPU performance comes with increased power consumption and reduced battery life on mobile devices. As an option to extend battery life, Android offers a battery-saver mode that when activated, turns off the power-hungry and faster processor cores and turns on the battery-conserving and slower processor cores on the device. The transition from using faster processor cores to using slower processor cores throttles the CPU clock speed on the device, and therefore impacts the webpage load process. We utilize a large-scale data-set collected by a real user monitoring system of a major content delivery network to investigate the impact of Android's battery-saver mode on various mobile Web performance metrics. Our analysis suggests that users of select smartphones of Huawei and Sony experience a sudden or gradual degradation in Web performance when battery-saver mode is active. Battery-saver mode on newer flagship smartphones, however, does not impact the mobile Web performance. Finally, we encourage for new website design goals that treat slow (and throttled-CPU) devices kindly in favor of improving end-user experience and suggest that Web performance measurements should be aware of user device battery charge levels to correctly associate Web performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑