Profile-based optimizations for JavaScript programs
Autor: | V. . Vardanyan |
---|---|
Jazyk: | English<br />Russian |
Rok vydání: | 2018 |
Předmět: | |
Zdroj: | Труды Института системного программирования РАН, Vol 28, Iss 1, Pp 5-20 (2018) |
Druh dokumentu: | article |
ISSN: | 2079-8156 2220-6426 |
DOI: | 10.15514/ISPRAS-2016-28(1)-1 |
Popis: | In recent years, JavaScript has become one of the most popular programming languages on the web. Many massive applications are written using JavaScript, such as Gmail, Google docs, etc. JavaScript is also used in the Node.js - server-side web application developing platform. Moreover, JavaScript is the main language for developing applications on some operating systems for mobile and media devices. Examples of such systems are Tizen and FirefoxOS. Due to increasing popularity of JavaScript many big companies produced and continue to develop their own dynamic compilers for this language. JIT compilation makes it possible to implement many well-known classic optimizations to improve programs performance. To maintain a trade-off between quick startup and doing sophisticated optimizations, JavaScript engines usually use multiple tiers for compiling hot functions: lower tier JITs generate less efficient code, but can start almost immediately (e.g., even with interpretation), while higher tier JITs aim at generating very effective code for hot places, but at the cost of long compilation time. So even highly optimized JavaScript execution engines require some time to "warm-up" before reaching their peak performance. This work is dedicated to the performance improvement of modern dynamic multitier JIT compilers by designing and implementing profile-based optimizations in JavaScript V8 JIT compiler. |
Databáze: | Directory of Open Access Journals |
Externí odkaz: |