Optimization coaching for JavaScript

Vincent St-Amour, Shu Yu Guo

Research output: Chapter in Book/Report/Conference proceedingConference contribution

2 Scopus citations

Abstract

The performance of dynamic object-oriented programming languages such as JavaScript depends heavily on highly optimizing just-in-time compilers. Such compilers, like all compilers, can silently fall back to generating conservative, low-performance code during optimization. As a result, programmers may inadvertently cause performance issues on users' systems by making seemingly inoffensive changes to programs. This paper shows how to solve the problem of silent optimization failures. It specifically explains how to create a so-called optimization coach for an object-oriented just-in-time-compiled programming language. The development and evaluation build on the SpiderMonkey JavaScript engine, but the results should generalize to a variety of similar platforms.

Original languageEnglish (US)
Title of host publication29th European Conference on Object-Oriented Programming, ECOOP 2015
EditorsJohn Tang Boyland
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Pages271-295
Number of pages25
ISBN (Electronic)9783939897866
DOIs
StatePublished - Jul 1 2015
Event29th European Conference on Object-Oriented Programming, ECOOP 2015 - Prague, Czech Republic
Duration: Jul 5 2015Jul 10 2015

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume37
ISSN (Print)1868-8969

Other

Other29th European Conference on Object-Oriented Programming, ECOOP 2015
CountryCzech Republic
CityPrague
Period7/5/157/10/15

Keywords

  • JavaScript
  • Optimization coaching
  • Performance tools

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'Optimization coaching for JavaScript'. Together they form a unique fingerprint.

Cite this