arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2106.14093cs.SE
收藏

JSAnalyzer:一个通过JavaScript优化简化移动页面的Web开发工具

JSAnalyzer: A Web Developer Tool for Simplifying Mobile Pages Through JavaScript Optimizations

Moumena Chaqfeh, Jacinta Hu, Waleed Hashmi, Russell Coke, Lakshmi Subramanian, Yasir Zaki

摘要:

在过去的十年中,嵌入在Web页面中的JavaScript的数量大幅增长,导致移动设备计算密集型的大型复杂页面。在本文中,我们提出了JSAnalyzer,一个易于使用的工具,使Web开发人员能够快速优化和生成更简单的版本的现有网页的移动用户。JSAnalyzer可以有选择地启用或禁用页面中的JavaScript元素,同时直观地观察它们的影响,这样就可以在不牺牲视觉内容或交互功能的情况下删除非关键元素。我们的定量评估结果显示,JSAnalyzer在低端手机(即,从32%到60%),并减少了30%的页面加载时间。对22名用户的定性研究表明,JSAnalyzer与原始页面保持了90%以上的视觉相似性,而对23名开发人员进行的开发人员评估研究表明,JSAnalyzer在有用性和可用性方面得分超过80%,同时保留了页面内容和功能特性。此外,我们还展示了JSAnalyzer优于JSCleaner和Google AMP等最先进的解决方案。

英文摘要:

The amount of JavaScript embedded in Web pages has substantially grown in the past decade, leading to large and complex pages that are computationally intensive for mobile devices. In this paper, we propose JSAnalyzer, an easy-to-use tool that enables Web developers to quickly optimize and generate simpler versions of existing web pages for mobile users. JSAnalyzer can selectively enable or disable JavaScript elements in a page while visually observing their impact, such that non-critical elements can be removed without sacrificing the visual content or the interactive functionality. Our quantitative evaluation results show that JSAnalyzer achieves more than 88% relative increase in performance scoring for low-end mobile phones (i.e., from 32% to 60%), and reduces the page load time by 30%. A qualitative study of 22 users shows that JSAnalyzer maintains more than 90% visual similarity to the original pages, whereas a developer evaluation study conducted with 23 developers shows that JSAnalyzer scores more than 80% in terms of usefulness and usability while retaining the page content and functional features. Additionally, we show that JSAnalyzer outperforms state-of-the-art solutions such as JSCleaner and Google AMP.

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

↑