arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.06827cs.PFcs.HCcs.SE
收藏

扩展对浏览器性能的影响:关于谷歌 Chrome 的实证研究

Impact of Extensions on Browser Performance: An Empirical Study on Google Chrome

Bihui Jin, Heng Li, Ying Zou

AI总结:

本研究通过实证分析谷歌 Chrome 上 72 个扩展,发现扩展即使在非预期使用下也会降低浏览器性能,并识别出代码复杂度和隐私实践等关键影响因素,为开发者和用户提供了性能优化建议。

摘要:

网络浏览器已被用户广泛用于进行各种在线活动,如信息检索或在线购物。为了改善用户体验并扩展浏览器的功能,开发者提供了机制,允许用户在其浏览器上安装第三方提供的插件(即扩展)。然而,关于此类扩展所带来的性能影响,目前知之甚少。在本文中,我们进行了一项实证研究,以了解扩展对最流行的浏览器谷歌 Chrome 的用户感知性能(即能耗和页面加载时间)的影响。我们研究了来自 11 个类别(例如开发者工具和体育)的共 72 个代表性扩展。我们观察到,浏览器的性能可能会因使用扩展而受到负面影响,即使在扩展被用于非预期情境时也是如此(例如,当登录扩展未被授权但需要登录时,或当扩展未用于指定网站时)。我们还识别出一组显著影响扩展性能影响的因素,例如代码复杂度和扩展所采用的隐私实践(即用户数据的收集)。基于我们的实证观察,我们为开发者和用户提供了缓解浏览器扩展性能影响的建议,例如对扩展的非预期使用场景进行性能测试和优化,或遵循扩展的正确使用实践(例如,在需要时登录扩展)。

英文摘要:

Web browsers have been used widely by users to conduct various online activities, such as information seeking or online shopping. To improve user experience and extend the functionality of browsers, practitioners provide mechanisms to allow users to install third-party-provided plugins (i.e., extensions) on their browsers. However, little is known about the performance implications caused by such extensions. In this paper, we conduct an empirical study to understand the impact of extensions on the user-perceived performance (i.e., energy consumption and page load time) of Google Chrome, the most popular browser. We study a total of 72 representative extensions from 11 categories (e.g., Developer Tools and Sports). We observe that browser performance can be negatively impacted by the use of extensions, even when the extensions are used in unintended circumstances (e.g., when logging into an extension is not granted but required, or when an extension is not used for designated websites). We also identify a set of factors that significantly influence the performance impact of extensions, such as code complexity and privacy practices (i.e., collection of user data) adopted by the extensions. Based on our empirical observations, we provide recommendations for developers and users to mitigate the performance impact of browser extensions, such as conducting performance testing and optimization for unintended usage scenarios of extensions, or adhering to proper usage practices of extensions (e.g., logging into an extension when required).

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

↑