A methodology for evaluating JavaScript execution behavior in interactive web applications

JavaScript has gone from being a mechanism for providing dynamic web pages to an important component of many web applications. Currently one of the most popular type of web applications is so-called social networks, e.g., Facebook, Twitter, and MySpace. However, the workload and execution behavior of JavaScript in this context have not been fully explored or understood. In this paper we present a methodology for characterizing the JavaScript execution behavior in interactive web applications using deterministic execution of use cases. Then, we apply this methodology to evaluate a set of social network applications and compare their behavior to a set of established JavaScript benchmarks. Our results confirm previous studies that the execution behavior of social networks differ from established benchmarks. In addition, we identify one novel difference not published before, i.e., the use of anonymous functions in web applications.

[1]  Toshikazu Nishimura,et al.  Implementation of asynchronous predictive fetch to improve the performance of Ajax-enabled web applications , 2008, iiWAS.

[2]  Ole Agesen GC Points in a Threaded Environment , 1998 .

[3]  Jan Vitek,et al.  An analysis of the dynamic behavior of JavaScript programs , 2010, PLDI '10.

[4]  Balachander Krishnamurthy,et al.  A few chirps about twitter , 2008, WOSN '08.

[5]  Curtis E. Dyreson,et al.  Scalability issues with using FSMWeb to test web applications , 2010, Inf. Softw. Technol..

[6]  Alan Watt,et al.  3D Computer Graphics , 1993 .

[7]  Panayiotis Zaphiris,et al.  Age differences in online social networking - A study of user profiles and the social capital divide among teenagers and older users in MySpace , 2009, Comput. Hum. Behav..

[8]  Philippe Golle,et al.  Machine learning attacks against the Asirra CAPTCHA , 2008, CCS.

[9]  Panayiotis Zaphiris,et al.  Age differences in online social networking , 2008, CHI Extended Abstracts.

[10]  Krishna P. Gummadi,et al.  Measurement and analysis of online social networks , 2007, IMC '07.

[11]  Cynthia A. Sanders Coming down the e-mail mountain, blazing a trail to gmail , 2008, SIGUCCS '08.

[12]  Håkan Grahn,et al.  A Comparative Evaluation of JavaScript Execution Behavior , 2011, ICWE.

[13]  Alan F. Blackwell,et al.  The Webkit tangible user interface: a case study of iterative prototyping , 2005, IEEE Pervasive Computing.

[14]  Chen-Nee Chuah,et al.  Unveiling facebook: a measurement study of social network based applications , 2008, IMC '08.

[15]  David Flanagan,et al.  JavaScript: The Definitive Guide , 1996 .

[16]  Jan Kasper Martinsen,et al.  A comparative evaluation of the execution behavior of JavaScript benchmarks and real-world web applications , 2010 .

[17]  Benjamin Livshits,et al.  JSMeter: Comparing the Behavior of JavaScript Benchmarks with Real Web Applications , 2010, WebApps.

[18]  Greg R. Notess Alexa: Web archive, advisor, and statistician , 1998 .

[19]  Jens Dietrich,et al.  Survey of Existing Languages to Model Interactive Web Applications , 2008, APCCM.

[20]  Jason Brand,et al.  Automation is a breeze with AutoIt , 2005, SIGUCCS '05.

[21]  Mason Chang,et al.  Trace-based just-in-time type specialization for dynamic languages , 2009, PLDI '09.