TY - JOUR
T1 - Accelerating page loads via streamlining JavaScript engine for distributed learning
AU - Liang, Chen
AU - Wang, Guoyu
AU - Li, Ning
AU - Wang, Zuo
AU - Zeng, Weihong
AU - Xiao, Fu an
AU - Tan, Yu an
AU - Li, Yuanzhang
N1 - Publisher Copyright:
© 2024 Elsevier Inc.
PY - 2024/7
Y1 - 2024/7
N2 - Distributed learning based on JavaScript-based frontends is typically implemented at the endpoint to maximize performance. Yet, JavaScript-based frontends often experience suboptimal performance. To reconcile these disparities in performance between EDGE and endpoint deployments, strategic optimization is essential, particularly for preserving privacy in distributed learning. Real-time streaming optimizations are imperative to align the performance of disparate components for smooth integration. The reliance on JavaScript for various web functionalities can lead to increased resource consumption and slower page loads. Thus, we introduce a streamlined JavaScript engine designed to optimize structural patterns in JavaScript code, with three key enhancements. Firstly, we reduce the computational burden of the JavaScript engine necessary for setting up the browser's runtime environment. Secondly, we refine the parsing process for specific code patterns, boosting the efficiency of our lightweight engine. Thirdly, we streamline the Inter-Process Communication (IPC) to maintain high performance, even with limited memory resources. Our evaluations demonstrate that our approach reduces the median Total Computation Time (TCT) by 45.2%, and surpasses existing leading solutions, Siploader and Prepack, with improvements ranging from 1.13× to 1.39×.
AB - Distributed learning based on JavaScript-based frontends is typically implemented at the endpoint to maximize performance. Yet, JavaScript-based frontends often experience suboptimal performance. To reconcile these disparities in performance between EDGE and endpoint deployments, strategic optimization is essential, particularly for preserving privacy in distributed learning. Real-time streaming optimizations are imperative to align the performance of disparate components for smooth integration. The reliance on JavaScript for various web functionalities can lead to increased resource consumption and slower page loads. Thus, we introduce a streamlined JavaScript engine designed to optimize structural patterns in JavaScript code, with three key enhancements. Firstly, we reduce the computational burden of the JavaScript engine necessary for setting up the browser's runtime environment. Secondly, we refine the parsing process for specific code patterns, boosting the efficiency of our lightweight engine. Thirdly, we streamline the Inter-Process Communication (IPC) to maintain high performance, even with limited memory resources. Our evaluations demonstrate that our approach reduces the median Total Computation Time (TCT) by 45.2%, and surpasses existing leading solutions, Siploader and Prepack, with improvements ranging from 1.13× to 1.39×.
KW - JavaScript engine
KW - Optimization
KW - Page loads
UR - http://www.scopus.com/inward/record.url?scp=85193520026&partnerID=8YFLogxK
U2 - 10.1016/j.ins.2024.120713
DO - 10.1016/j.ins.2024.120713
M3 - Article
AN - SCOPUS:85193520026
SN - 0020-0255
VL - 675
JO - Information Sciences
JF - Information Sciences
M1 - 120713
ER -