JS']JS Capsules: A Framework for Capturing Fine-grained Java']JavaScript Memory Measurements for the MobileWeb

被引:0
|
作者
Naseer, Usama [1 ]
Benson, Theophilus A. [1 ,2 ]
机构
[1] Brown Univ, Providence, RI 02912 USA
[2] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
关键词
Mobile web; Memory performance; Web optimizations;
D O I
10.1145/3579327
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Understanding the resource consumption of the mobile web is an important topic that has garnered much attention in recent years. However, existing works mostly focus on the networking or computational aspects of the mobile web and largely ignore memory, which is an important aspect given the mobile web's reliance on resource-heavy JavaScript. In this paper, we propose a framework, called JS Capsules, for characterizing the memory of JavaScript functions and, using this framework, we investigate the key browser mechanics that contribute to the memory overhead. Leveraging our framework on a testbed of Android mobile phones, we conduct measurements of the Alexa top 1K websites. While most existing frameworks focus on V8 - the JavaScript engine used in most popular browsers - in the context of memory, our measurements show that the memory implications of JavaScript extends far beyond V8 due to the cascading effects that certain JavaScript calls have on the browser's rendering mechanics. We quantify and highlight the direct impact that website DOM have on JavaScript memory overhead and present, to our knowledge, the first root-cause analysis to dissect and characterize their impact on JavaScript memory overheads.
引用
收藏
页数:27
相关论文
共 26 条
  • [11] Migratom.js']js: A Java']JavaScript Migration Framework for Distributed Web Computing and Mobile Devices
    Tseng, Tai-Lun
    Hung, Shih-Hao
    Tu, Chia-Heng
    30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, : 798 - 801
  • [12] BioJS']JS: an open source Java']JavaScript framework for biological data visualization
    Gomez, John
    Garcia, Leyla J.
    Salazar, Gustavo A.
    Villaveces, Jose
    Gore, Swanand
    Garcia, Alexander
    Martin, Maria J.
    Launay, Guillaume
    Alcantara, Rafael
    del-Toro, Noemi
    Dumousseau, Marine
    Orchard, Sandra
    Velankar, Sameer
    Hermjakob, Henning
    Zong, Chenggong
    Ping, Peipei
    Corpas, Manuel
    Jimenez, Rafael C.
    BIOINFORMATICS, 2013, 29 (08) : 1103 - 1104
  • [13] JS']JSLess: A Tale of a Fileless Java']Javascript Memory-Resident Malware
    Saad, Sherif
    Mahmood, Farhan
    Briguglio, William
    Elmiligi, Haytham
    INFORMATION SECURITY PRACTICE AND EXPERIENCE, ISPEC 2019, 2019, 11879 : 113 - 131
  • [14] QPR.js']js: A Runtime Framework for QoS-Aware Power Optimization for Parallel Java']JavaScript Programs
    Lee, Wonjun
    Kim, Channoh
    Song, Houp
    Lee, Jae W.
    PROCEEDINGS OF THE 2014 IEEE/ACM INTERNATIONAL SYMPOSIUM ON LOW POWER ELECTRONICS AND DESIGN (ISLPED), 2014, : 251 - 254
  • [15] CONSCRIPT: Specifying and Enforcing Fine-Grained Security Policies for Java']JavaScript in the Browser
    Meyerovich, Leo A.
    Livshits, Benjamin
    2010 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, 2010, : SSS - +
  • [16] Fine-Grained Analysis of Compromised Websites with Redirection Graphs and Java']JavaScript Traces
    Takata, Yuta
    Akiyama, Mitsuaki
    Yagi, Takeshi
    Yada, Takeshi
    Goto, Shigeki
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2017, E100D (08): : 1714 - 1728
  • [17] JS']JSMBox-A Runtime Monitoring Framework for Analyzing and Classifying Malicious Java']JavaScript
    Phung, Phu H.
    Varghese, Allen
    Wang, Bojue
    Zhao, Yu
    Yu, Chong
    SOFTWARE AND DATA ENGINEERING, SEDE 2024, 2025, 2244 : 100 - 122
  • [18] JS']JSNVM: Supporting Data Persistence in Java']JavaScript using Non-Volatile Memory
    Xu, Hao
    Zhu, Yanmin
    Chen, Yuting
    Huang, Linpeng
    Li, Tianyou
    Deng, Pan
    2018 IEEE 24TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS 2018), 2018, : 457 - 464
  • [19] NetSets.js']js: a Java']JavaScript framework for compositional assessment and comparison of biological networks through Venn-integrated network diagrams
    Nagpal, Sunil
    Kuntal, Bhusan K.
    Mande, Sharmila S.
    BIOINFORMATICS, 2021, 37 (04) : 580 - 582
  • [20] JS']JSidentify: A Hybrid Framework for Detecting Plagiarism Among Java']JavaScript Code in Online Mini Games
    Xia, Qun
    Zhou, Zhongzhu
    Li, Zhihao
    Xu, Bin
    Zou, Wei
    Chen, Zishun
    Ma, Huafeng
    Liang, Gangqiang
    Lu, Haochuan
    Guo, Shiyu
    Xiong, Ting
    Deng, Yuetang
    Xie, Tao
    2020 IEEE/ACM 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP), 2020, : 211 - 220