Advanced

A comparative evaluation of JavaScript execution behavior

Martinsen, Jan Kasper LU ; Grahn, Håkan LU and Isberg, Anders (2011) PLDI 2011 - 32nd ACM SIGPLAN conference on Programming Language Design and Implementation
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 remains several important aspects to explore.

In this paper, we compare the JavaScript execution behavior for four application classes, i.e., four established JavaScript benchmark suites, the start pages for the first 100 sites on the Alexa top list, 22 different use cases for Facebook, Twitter, and Blogger, and finally, demo applications for the emerging HTML5 standard. Our results extend previous... (More)
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 remains several important aspects to explore.

In this paper, we compare the JavaScript execution behavior for four application classes, i.e., four established JavaScript benchmark suites, the start pages for the first 100 sites on the Alexa top 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 functions, showing that just-in-time compilation often decreases the performance of real-world web applications, a more thorough and detailed analysis of the use of the eval function, and a detailed instruction mix evaluation. (Less)
Please use this url to cite or link to this publication:
author
organization
publishing date
type
Contribution to conference
publication status
submitted
subject
conference name
PLDI 2011 - 32nd ACM SIGPLAN conference on Programming Language Design and Implementation
project
EASE
language
English
LU publication?
yes
id
eecc87fb-8f81-48c3-bf86-3df3473c6598 (old id 1738058)
date added to LUP
2010-12-09 17:08:47
date last changed
2016-06-20 16:50:55
@misc{eecc87fb-8f81-48c3-bf86-3df3473c6598,
  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 remains several important aspects to explore.<br/><br>
In this paper, we compare the JavaScript execution behavior for four application classes, i.e., four established JavaScript benchmark suites, the start pages for the first 100 sites on the Alexa top 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 functions, showing that just-in-time compilation often decreases the performance of real-world web applications, a more thorough and detailed analysis of the use of the eval function, and a detailed instruction mix evaluation.},
  author       = {Martinsen, Jan Kasper and Grahn, Håkan and Isberg, Anders},
  language     = {eng},
  title        = {A comparative evaluation of JavaScript execution behavior},
  year         = {2011},
}