Investigating the Evolvability of Web Page Load Time
Abstract
Client-side Javascript execution environments (browsers) allow anonymous functions and event-based programming concepts such as callbacks. We investigate whether a mutate-and-test approach can be used to optimise web page load time in these environments. First, we characterise a web page load issue in a benchmark web page and derive performance metrics from page load event traces. We parse Javascript source code to an AST and make changes to method calls which appear in a web page load event trace. We present an operator based solely on code deletion and evaluate an existing "community-contributed" performance optimising code transform. By exploring Javascript code changes and exploiting combinations of non-destructive changes, we can optimise page load time by 41% in our benchmark web page.
- Publication:
-
arXiv e-prints
- Pub Date:
- February 2018
- DOI:
- 10.48550/arXiv.1803.01683
- arXiv:
- arXiv:1803.01683
- Bibcode:
- 2018arXiv180301683C
- Keywords:
-
- Computer Science - Software Engineering;
- Computer Science - Neural and Evolutionary Computing
- E-Print:
- 8 Pages, to appear in EvoSET 2018