arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.13764cs.OH
收藏

阻止还是不阻止:通过JavaScript分类加速移动网页的运行

To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through JavaScript Classification

Moumena Chaqfeh, Muhammad Haseeb, Waleed Hashmi, Patrick Inshuti, Manesha Ramesh, Matteo Varvello, Fareed Zaffar, Lakshmi Subramanian, Yasir Zaki

摘要:

现代移动网页中越来越复杂的JavaScript已经成为低端移动电话用户的关键性能瓶颈,特别是在发展中地区。在本文中,我们提出了SlimWeb,一种新的方法,自动派生轻量级版本的移动网页上的飞行,通过消除不必要的JavaScript的使用。SlimWeb由一个由监督机器学习(ML)模型提供支持的JavaScript分类服务组成,该模型提供对嵌入在网页中的每个JavaScript元素的深入了解。SlimWeb旨在通过预测每个元素的类别来改善Web浏览体验,以便使用该服务的浏览器保留必要元素并阻止非必要元素。我们通过对306名用户的用户偏好调查来激发SlimWeb的核心设计,并在真实3G和4G蜂窝网络上对发展中地区的500个流行网页进行了SlimWeb的详细评估,以及对20名真实用户的用户体验研究和对588名用户的使用意愿调查。评估结果表明,SlimWeb实现了减少50%的页面加载时间相比,原来的网页,和30%以上的减少相比,竞争的解决方案,同时实现了高相似性分数的原始页面通过62个用户的定性评估研究测量。SlimWeb将整体用户体验比原始页面提高了60%以上,同时保持了大多数页面90%-100%的视觉和功能组件。最后,SlimWeb分类器在预测JavaScript类别时达到了90%的中值准确率。

英文摘要:

The increasing complexity of JavaScript in modern mobile web pages has become a critical performance bottleneck for low-end mobile phone users, especially in developing regions. In this paper, we propose SlimWeb, a novel approach that automatically derives lightweight versions of mobile web pages on-the-fly by eliminating the use of unnecessary JavaScript. SlimWeb consists of a JavaScript classification service powered by a supervised Machine Learning (ML) model that provides insights into each JavaScript element embedded in a web page. SlimWeb aims to improve the web browsing experience by predicting the class of each element, such that essential elements are preserved and non-essential elements are blocked by the browsers using the service. We motivate the core design of SlimWeb using a user preference survey of 306 users and perform a detailed evaluation of SlimWeb across 500 popular web pages in a developing region on real 3G and 4G cellular networks, along with a user experience study with 20 real-world users and a usage willingness survey of 588 users. Evaluation results show that SlimWeb achieves a 50% reduction in the page load time compared to the original pages, and more than 30% reduction compared to competing solutions, while achieving high similarity scores to the original pages measured via a qualitative evaluation study of 62 users. SlimWeb improves the overall user experience by more than 60% compared to the original pages, while maintaining 90%-100% of the visual and functional components of most pages. Finally, the SlimWeb classifier achieves a median accuracy of 90% in predicting the JavaScript category.

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

↑