DocumentCode
3728571
Title
Analysis and Optimization of Engines for Dynamically Typed Languages
Author
Gem Dot; Mart?nez; Gonz?lez
Author_Institution
Univ. Politec. de Catalunya, Barcelona, Spain
fYear
2015
Firstpage
41
Lastpage
48
Abstract
Dynamically typed programming languages have become very popular in the recent years. These languages ease the task of the programmer but introduce significant overheads since assumptions about the types of variables have to be constantly validated at run time. Java Script is a widely used dynamically typed language that has gained significant popularity in recent years. In this paper, we provide a detailed analysis of the two main sources of overhead in the Java Script execution. The first one is the runtime overhead needed for dynamic compilation and housekeeping activities (i.e. Garbage collector, compilation, etc.). The second one is the additional checks and guards introduced by the dynamic nature of Java Script. Then, we propose three new HW/SW optimizations that reduce this latter type of overhead. We show that these two types of overhead represent 35% and 25% respectively of the total execution time on average for a representative workload, and the proposed optimizations provide a 6% average speedup.
Keywords
"Engines","Optimization","Benchmark testing","Dynamic compiler","Vehicle dynamics","Prototypes"
Publisher
ieee
Conference_Titel
Computer Architecture and High Performance Computing (SBAC-PAD), 2015 27th International Symposium on
ISSN
1550-6533
Type
conf
DOI
10.1109/SBAC-PAD.2015.20
Filename
7379832
Link To Document