A NOVEL APPROACH FOR BOOSTING PERFORMANCE OF JAVASCRIPT ENGINE FOR WEB APPLICATIONS

  • Рубен Борисович Айрапетян Samsung Research Center
  • Евгений Александрович Гаврин Lomonosov Moscow State University
  • Андрей Николаевич Шитов Lomonosov Moscow State University

Abstract

JavaScript is the most widespread language for Web programming. And, literally, it is vital for Web 2.0. With the development of Web 2.0, JavaScript engines experience increasingly large performance-related challenges. The ability to boost JavaScript performance becomes the crucial point for complete replacement of desktop applications in some cases. We propose the novel approach for dramatic performance improvement of Web applications by introducing snapshot of compiled code, profile and type feedback for fast startup and ahead-of-time optimisations.

Author Biographies

Рубен Борисович Айрапетян, Samsung Research Center

leading engineer-programmer of Compilation Department

Евгений Александрович Гаврин, Lomonosov Moscow State University

Postgraduate Student of Faculty of Computational Mathematics and Cybernetics, Head of Compilation Department, Samsung Research Center

Андрей Николаевич Шитов, Lomonosov Moscow State University

Postgraduate Student of Faculty of Computational Mathematics and Cybernetics, engineer-programmer of Compilation Department, Samsung Research Center

References

1. A., Hass; A, Rossberg; D.L., Schuff; B.L., Titzer; D., Gohman; L., Wagner; A., Zakai; M., Holman; JF, Bastien (2017). Bringing the Web up to Speed with WebAssembly.
2. Richards, G., Lebresne, S., Burg, B., & Vitek, J. (2010, June). An analysis of the dynamic behavior of JavaScript programs. In ACM Sigplan Notices (Vol. 45, No. 6, pp. 1-12). ACM.
3. Hackett, B., & Guo, S. (2012). Fast and precise hybrid type inference for JavaScript. ACM SIGPLAN Notices, 47(6), 239-250.
4. Brunthaler, S. (2010, June). Inline caching meets quickening. In European Conference on Object-Oriented Programming (pp. 429-451). Springer Berlin Heidelberg.
5. WebKit / LongSpider, 2016. https://github.com/WebKit/webkit/tree/master/PerformanceTests/LongSpider
6. WebKit. SunSpider JavaScript Benchmark, 2017. https://webkit.org/perf/sunspider/sunspider.html
7. Chrome V8. https://developers.google.com/v8
8. Gavrin, E., Lee, S. J., Ayrapetyan, R., & Shitov, A. (2015, October). Ultra-lightweight JavaScript engine for internet of things. In Companion Proceedings of the 2015 ACM SIGPLAN International Conference on Systems, Programming, Languages and Applications: Software for Humanity (pp. 19-20). ACM
9. Implementing ART Just-In-Time (JIT) Compiler, 2017. https://source.android.com/devices/tech/dalvik/jit-compiler
10. The Pyston Blog. Caching object code, 2016. https://blog.pyston.org/2015/07/14/caching-object-code
11. V8 JavaScript Engine. Code caching, 2015. https://v8project.blogspot.com/2015/07/code-caching.html
Published
2017-05-30
How to Cite
АЙРАПЕТЯН, Рубен Борисович; ГАВРИН, Евгений Александрович; ШИТОВ, Андрей Николаевич. A NOVEL APPROACH FOR BOOSTING PERFORMANCE OF JAVASCRIPT ENGINE FOR WEB APPLICATIONS. Modern Information Technologies and IT-Education, [S.l.], v. 13, n. 1, p. 217-221, may 2017. ISSN 2411-1473. Available at: <http://sitito.cs.msu.ru/index.php/SITITO/article/view/212>. Date accessed: 01 sep. 2025. doi: https://doi.org/10.25559/SITITO.2017.1.454.
Section
Research and development in the field of new IT and their applications

Most read articles by the same author(s)