Accelerating page loads via streamlining JavaScript engine for distributed learning

Chen Liang, Guoyu Wang, Ning Li*, Zuo Wang, Weihong Zeng, Fu an Xiao, Yu an Tan, Yuanzhang Li

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

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×.

Original languageEnglish
Article number120713
JournalInformation Sciences
Volume675
DOIs
Publication statusPublished - Jul 2024

Keywords

  • JavaScript engine
  • Optimization
  • Page loads

Fingerprint

Dive into the research topics of 'Accelerating page loads via streamlining JavaScript engine for distributed learning'. Together they form a unique fingerprint.

Cite this