Dynamic and ahead of time optimization for JavaScript programs
Roman Aleksandrovich Zhuykov, Dmitry Melnik, Ruben Arturovich Buchatskiy, Vahagn Vardanyan, Vladislav Ivanishin, Eugene Sharygin
Abstract
Open-access reader
Roman Aleksandrovich Zhuykov, Dmitry Melnik, Ruben Arturovich Buchatskiy, Vahagn Vardanyan, Vladislav Ivanishin, Eugene Sharygin
Abstract
Open-access reader
The paper is dedicated to performance improvement of JavaScript programs. In this work we examine the specifics of dynamic optimizations in JIT-compiler for JavaScript, and how the performance of such optimizations can be improved. Also we propose a method for ahead-of-time (AOT) compilation of JavaScript programs, and for saving them as a bytecode. This method allows reducing startup time of applications by moving the optimizations to AOT phase. The proposed methods were implemented in open-source WebKit library, and resulted in significant performance gain for popular JavaScript benchmarks on ARM platform.
OpenAlex reports 4 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
The paper is dedicated to performance improvement of JavaScript programs. In this work we examine the specifics of dynamic optimizations in JIT-compiler for JavaScript, and how the performance of such optimizations can be improved. Also we propose a method for ahead-of-time (AOT) compilation of JavaScript programs, and for saving them as a bytecode. This method allows reducing startup time of applications by moving the optimizations to AOT phase. The proposed methods were implemented in open-source WebKit library, and resulted in significant performance gain for popular JavaScript benchmarks on ARM platform.
Key concepts: JavaScript, Bytecode, Computer science, Unobtrusive JavaScript, Just-in-time compilation, Compiler, Programming language, Operating system