Evaluating Four Aspects of JavaScript Execution Behavior in Benchmarks and Web Applications
| Document type: | Researchreports |
|---|---|
| Full text: | |
| Author(s): | Jan Kasper Martinsen, Håkan Grahn, Anders Isberg |
| Title: | Evaluating Four Aspects of JavaScript Execution Behavior in Benchmarks and Web Applications |
| Series: | Research Report |
| Year: | 2011 |
| Issue: | 3 |
| ISSN: | 1103-1581 |
| Organization: | Blekinge Institute of Technology |
| Department: | School of Computing (Sektionen för datavetenskap och kommunikation) School of Computing S-371 79 Karlskrona +46 455 38 50 00 http://www.bth.se/com |
| Authors e-mail: | jan.kasper.martinsen@bth.se, hakan.grahn@bth.se, Anders.Isberg@sonyericsson.com |
| Language: | English |
| Abstract: | JavaScript is a dynamically typed and object-based scripting language with runtime evaluation. It has emerged as an important language for client-side computation of web applications. Previous studies have shown differences in behavior between established JavaScript benchmarks and real-world web applications. However, there still remain several important aspects to explore. In this study, we compare the JavaScript execution behavior of four application classes, i.e., four established JavaScript benchmark suites, the first pages of the top 100 sites on the Alexa list, 22 different use cases for Facebook, Twitter, and Blogger, and finally, demo applications for the emerging HTML5 standard. Our results extend previous studies by identifying the importance of anonymous and eval functions, showing that just-in-time compilation often decreases the performance of real-world web applications, and a detailed bytecode instruction mix evaluation. |
| Subject: | Computer Science\Computersystems Computer Science\General Software Engineering\General |
| Keywords: | JavaScript, Benchmarks, Performance Evaluation, Measurements |
| URN: | urn:nbn:se:bth-00505 |












