JavaScript Guidelines for JavaScript Programmers - A Comprehensive Guide for Performance Critical JS Programs
Gábor Lóki, Péter Gál
2018
Abstract
Programming guidelines are used for almost every programming language. Guidelines can differ for each project and each programmer. In general, however they usually try to give a common format for the given project in some aspect. This aspect can be code style related or even performance related. A performance guideline tries to help programmers formulate such code which can be executed quickly by the computer. For statically compiled languages, numerous performance guidelines are available. In the web era, the JavaScript language is used extensively by many developers. For this language, the performance guidelines are not that widespread, although there are a few research papers about them. Additionally, the language has incorporated new constructs in its newer versions. In this paper, some of the new ECMAScript 6 constructs are investigated to determine if they should be used in a performance sensitive JavaScript application. The elements are compared with the ECMAScript 5.1 variants. To give a more usable set of guidelines, the tests are performed on multiple JavaScript engines ranging from server side JS engines to engines which can be used in embedded systems.
DownloadPaper Citation
in Harvard Style
Lóki G. and Gál P. (2018). JavaScript Guidelines for JavaScript Programmers - A Comprehensive Guide for Performance Critical JS Programs.In Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT, ISBN 978-989-758-320-9, pages 397-404. DOI: 10.5220/0006918903970404
in Bibtex Style
@conference{icsoft18,
author={Gábor Lóki and Péter Gál},
title={JavaScript Guidelines for JavaScript Programmers - A Comprehensive Guide for Performance Critical JS Programs},
booktitle={Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT,},
year={2018},
pages={397-404},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006918903970404},
isbn={978-989-758-320-9},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT,
TI - JavaScript Guidelines for JavaScript Programmers - A Comprehensive Guide for Performance Critical JS Programs
SN - 978-989-758-320-9
AU - Lóki G.
AU - Gál P.
PY - 2018
SP - 397
EP - 404
DO - 10.5220/0006918903970404