Return
Evolving JavaScript Code to Reduce Load Time
DOI:10.1109/TSE.2019.2928293.png)
Abstract
En 中文
JavaScript is one of the most used programming languages for front-end development of Web applications. The increase in complexity of front-end features brings concerns about performance, especially the load and execution time of JavaScript code. In this paper, we propose an evolutionary program improvement technique to reduce the size of JavaScript programs and, therefore, the time required to load and execute them in Web applications. To guide the development of this technique, we performed an experimental study to characterize the patches applied to JavaScript programs to reduce their size while keeping the functionality required to pass all test cases in their test suites. We applied this technique to 19 JavaScript programs varying from 92 to 15,602 LOC and observed reductions from 0.2 to 73.8 percent of the original code, as well as a relationship between the quality of a program's test suite and the ability to reduce the size of its source code.
Keywords:
Software
Syntactics
Genetic programming
Software algorithms
Heuristic algorithms
Libraries
Runtime
JavaScript
source code improvement
genetic programming
local search
Journal
IF:
5.6
Papers:
3.0K
Citations:
1.3W
Organization
Cited Papers
Synthetic Methods and Reactions; Part 581. Deoxygenation of Sulfoxides and Other Transformations with Chlorotrimethylsilane/Sodium Iodide and Related "Soft" Bases
Synthesis
IF0
MHD Stagnation-Point Flow and Heat Transfer in a Micropolar Fluid over an Exponentially Vertical Sheet
CFD Letters
IF0
Post-collisional ultrapotassic volcanism in the Tangra Yumco-Xuruco graben, south Tibet: Constraints from geochemistry and Sr–Nd–Pb isotope
Lithos
IF0

