通过高效的内存字节码缓存提高JavaScript性能

Jun Heo, Seung Woo, Hakbeom Jang, Kyungyeon Yang, Jae W. Lee
{"title":"通过高效的内存字节码缓存提高JavaScript性能","authors":"Jun Heo, Seung Woo, Hakbeom Jang, Kyungyeon Yang, Jae W. Lee","doi":"10.1109/ICCE-ASIA.2016.7804810","DOIUrl":null,"url":null,"abstract":"Web browsing is one of the most important applications for personalized consumer electronics devices such as smartphones and tablets. It is common usage pattern on these devices for a user to visit a relatively small set of websites repeatedly, which dominates the total browsing time. Exploiting this, modern web browsers cache downloaded resources in local disks such as HTML/JavaScript files and image files. While saving network bandwidth, resource caching does not eliminate redundant computation for processing these files. This paper presents an efficient in-memory code cache to improve the performance of interactive, dynamic webpages written in JavaScript. Evaluated on a production-grade JavaScript engine with JSBench, which record-and-replays five real-world websites, the proposed technique reduces both JavaScript compilation time and execution time by 57.9% and 30.9% on an embedded platform running at 2.3 GHz with 2GB RAM.","PeriodicalId":229557,"journal":{"name":"2016 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia)","volume":"58 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Improving JavaScript performance via efficient in-memory bytecode caching\",\"authors\":\"Jun Heo, Seung Woo, Hakbeom Jang, Kyungyeon Yang, Jae W. Lee\",\"doi\":\"10.1109/ICCE-ASIA.2016.7804810\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Web browsing is one of the most important applications for personalized consumer electronics devices such as smartphones and tablets. It is common usage pattern on these devices for a user to visit a relatively small set of websites repeatedly, which dominates the total browsing time. Exploiting this, modern web browsers cache downloaded resources in local disks such as HTML/JavaScript files and image files. While saving network bandwidth, resource caching does not eliminate redundant computation for processing these files. This paper presents an efficient in-memory code cache to improve the performance of interactive, dynamic webpages written in JavaScript. Evaluated on a production-grade JavaScript engine with JSBench, which record-and-replays five real-world websites, the proposed technique reduces both JavaScript compilation time and execution time by 57.9% and 30.9% on an embedded platform running at 2.3 GHz with 2GB RAM.\",\"PeriodicalId\":229557,\"journal\":{\"name\":\"2016 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia)\",\"volume\":\"58 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2016 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCE-ASIA.2016.7804810\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCE-ASIA.2016.7804810","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

网页浏览是智能手机和平板电脑等个性化消费电子设备最重要的应用之一。在这些设备上,用户重复访问相对较少的网站是一种常见的使用模式,这占据了总浏览时间。利用这一点,现代web浏览器将下载的资源缓存到本地磁盘,如HTML/JavaScript文件和图像文件。虽然节省了网络带宽,但资源缓存并不能消除处理这些文件的冗余计算。本文提出了一种高效的内存代码缓存,以提高用JavaScript编写的交互式动态网页的性能。在使用JSBench的生产级JavaScript引擎上进行了评估,该引擎记录并回放了五个真实世界的网站,在运行在2.3 GHz和2GB RAM的嵌入式平台上,所提出的技术将JavaScript编译时间和执行时间分别减少了57.9%和30.9%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Improving JavaScript performance via efficient in-memory bytecode caching
Web browsing is one of the most important applications for personalized consumer electronics devices such as smartphones and tablets. It is common usage pattern on these devices for a user to visit a relatively small set of websites repeatedly, which dominates the total browsing time. Exploiting this, modern web browsers cache downloaded resources in local disks such as HTML/JavaScript files and image files. While saving network bandwidth, resource caching does not eliminate redundant computation for processing these files. This paper presents an efficient in-memory code cache to improve the performance of interactive, dynamic webpages written in JavaScript. Evaluated on a production-grade JavaScript engine with JSBench, which record-and-replays five real-world websites, the proposed technique reduces both JavaScript compilation time and execution time by 57.9% and 30.9% on an embedded platform running at 2.3 GHz with 2GB RAM.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信