Making JavaScript Better By Making It Even Slower

On mobile devices, such as Smartphones and tablets, client-side JavaScript is a significant contributor to power consumption, and thus battery lifetime. The authors claim that this is partially due to JavaScript interpretation running faster than is necessary to maintain a satisfactory user experience, and they propose that JavaScript implementations include a user-configurable throttle. To evaluate their claim they 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.

Provided by: Northwestern University Topic: Virtualization Date Added: Apr 2013 Format: PDF

Find By Topic