Abstract:
JavaScript is a prominent scripting language in web browsers. Earlier JavaScript was
only used for client-side programming of browsers. JavaScript has been becoming a
mainstream and a significant language in all types of large-scale applications from
recent past.
JavaScript is an interpreted loosely typed language. JavaScript does not compile the
source beforehand instead it translates codes at run time, line by line. JavaScript does
not contain data types. Therefore, it is called a loosely typed language as well.
JavaScript does not consist fully pledged Object-Oriented concepts implemented.
Instead, it uses prototypes to mimic the behavior of Object Orientation.
JavaScript was initially developed in 10 days by the founder Brendan Eich during the
emergence of dot-com bubble and browser wars. At later points he himself had also
admitted regarding some design mistakes of JavaScript.
Due to these reasons JavaScript has certain innate performance issues. To address these
issues many researches have been done. Most of these researches have been focusing
on fixing the performance issues of interpreting and loosely typed nature, by such
solutions as JIT compilers and Typescript.
Hence this research will be focusing on an area which was given less significance,
namely the coding standards. Research will first validate the common notion of coding
standards have an impact on performance of JS and continue to provide an analytic
document as a reference document of setting up a coding standards for any particular
entity.
Citation:
Dulanjana, M.D.T. (2022). Empirical analysis on javascript engine performance [Master's theses, University of Moratuwa]. Institutional Repository University of Moratuwa. http://dl.lib.uom.lk/handle/123/21581