arrow
Return

Making JavaScript Better By Making It Even Slower

delete2013-08-01
delete2
delete
OA
AI
M
Maciej Swiech *
P
Peter A. Dinda
DOI:10.1109/MASCOTS.2013.15delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
On mobile devices, such as smartphones and tablets, client-side JavaScript is a significant contributor to power consumption, and thus battery lifetime. We claim that this is partially due to JavaScript interpretation running faster than is necessary to maintain a satisfactory user experience, and we propose that JavaScript implementations include a user-configurable throttle. To evaluate our claim we developed a web proxy system, named JSSlow, that reduces power consumption by transcoding client-side JavaScript and injecting sleep invocations. This can be done safely, even given JavaScript's single-threaded nature, through the use of continuation passing, and the proxy model requires neither server nor client-side changes. Using JSSlow we studied the 120 most popular sites and found that the technique could reduce power consumption by an average of 5% on Android phones. We also considered buggy code (52% reduction) and advertising (10% reduction). To evaluate the system's impact on the user experience, we conducted a user study consisting of interactive tasks the user carried out on. The perceived performance impact varies by user and site, with the variation being highest on the most interactive sites, such as games. This argues for making the throttle user-configurable in some cases.
Keywords:
Mobile Computing
Human Computer Interaction
Performance Evaluation
World Wide Web

Journal

I
IEEE International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems
IF:
0
Papers:
2
Citations:
0

Organization

N
northwestern university
Scholars:
2.1K
Papers: 689
Citations: 0
Cited Papers

Cited Papers

Randomized, Controlled, Double-Blind, Cross-Over Trial Assessing Treatment Preference for Pazopanib Versus Sunitinib in Patients With Metastatic Renal Cell Carcinoma: PISCES Study
err2014-05-10
err0
errOAAI
errBernard Escudier; Camillo Porta; Petri Bono; Thomas Powles; Tim Eisen; Cora N. Sternberg; Jürgen E. Gschwend; Ugo De Giorgi; Omi Parikh; Robert Hawkins; Emmanuel Sevin; Sylvie Négrier; Sadya Khan; Jose Diaz; Suman Redhu; Faisal Mehmud; David Cella
errShare
errSave
White matter damage in maintenance hemodialysis patients: a diffusion tensor imaging study
err2017-07-05
err0
errOAAI
errDavid A. Drew; Bang-Bon Koo; Rafeeque Bhadelia; Daniel E. Weiner; Sarah Duncan; Maria Mendoza-De la Garza; Aditi Gupta; Hocine Tighiouart; Tammy Scott; Mark J. Sarnak
errShare
errSave