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 条
  • [1] JS Capsules: A Framework for Capturing Fine-grained JavaScript Memory Measurements for the Mobile Web.
    Naseer, Usama
    Benson, Theophilus A.
    SIGMETRICS 2023 - Abstract Proceedings of the 2023 ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems, 2023, : 53 - 54
  • [2] ACDC-JS']JS: Explorative Benchmarking of Java']JavaScript Memory Management
    Aigner, Martin
    Miller, Alexander
    Huetter, Thomas
    Payer, Hannes
    Kirsch, Christoph M.
    Preishuber, Mario
    ACM SIGPLAN NOTICES, 2015, 50 (02) : 67 - 78
  • [3] SPMP: A Java']JavaScript Support for Shared Persistent Memory on Node.js']js
    Zhang, Qipeng
    Li, Tianyou
    Deng, Pan
    Chen, Yuting
    Huang, Linpeng
    Rudoff, Andy
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2018, PT II, 2018, 11335 : 354 - 366
  • [4] SecureJS']JS Compiler: Portable Memory Isolation in Java']JavaScript
    Ko, Yoonseok
    Rezk, Tamara
    Serrano, Manuel
    36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2021, 2021, : 1265 - 1274
  • [5] JS']JSOptimizer: An Extensible Framework for Java']JavaScript Program Optimization
    Liu, Yi
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2019), 2019, : 168 - 170
  • [6] JS']JSOPT: A Framework for Optimization of Java']JavaScript on Web Browsers
    Waqas, Muhammad
    Khan, Minhaj Ahmad
    MEHRAN UNIVERSITY RESEARCH JOURNAL OF ENGINEERING AND TECHNOLOGY, 2018, 37 (01) : 95 - 104
  • [7] JS']JSWhiz Static Analysis for Java']JavaScript Memory Leaks
    Pienaar, Jacques A.
    Hundt, Robert
    PROCEEDINGS OF THE 2013 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO), 2013, : 313 - 323
  • [8] Managing security vulnerabilities introduced by dependencies in React.JS']JS Java']JavaScript framework
    Anastasia, Terzi
    Stamatia, Bibi
    2024 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING-COMPANION, SANER-C 2024, 2024, : 126 - 133
  • [9] Fine-Grained Map Coloring Web Service for Java']JavaScript
    Nakai, Tetsuya
    Saiki, Sachio
    Nakamura, Masahide
    DIGITAL HUMAN MODELING AND APPLICATIONS IN HEALTH, SAFETY, ERGONOMICS AND RISK MANAGEMENT. HUMAN COMMUNICATION, ORGANIZATION AND WORK, DHM 2020, PT II, 2020, 12199 : 159 - 174
  • [10] Towards Fine-Grained Access Control in Java']JavaScript Contexts
    Patil, Kailas
    Dong, Xinshu
    Li, Xiaolei
    Liang, Zhenkai
    Jiang, Xuxian
    31ST INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS 2011), 2011, : 720 - 729