Advanced

An alternative optimization technique for JavaScript engines

Martinsen, Jan Kasper and Grahn, Håkan (2010) In Proceedings of the Third Swedish Workshop on Multi-Core Computing (MCC-10) p.155-160
Abstract
Thread Level Speculation at function level has been suggested as a method to automatically (or semi-automatically) extract parallelism from sequential programs. While there have been multiple implementations in both hardware and

software, little work has been done in the context of dynamic programming languages such as JavaScript. In this paper we evaluate the effects of a simple Thread Level Speculation approach, implemented on top of the Rhino1 7R2

JavaScript engine. The evalauation is done using the wellknown JavaScript benchmark suite V8. More specifically, we have measured the effects of our null return value prediction approach for function calls, conflicts with variables in a global scope, and the effects on the... (More)
Thread Level Speculation at function level has been suggested as a method to automatically (or semi-automatically) extract parallelism from sequential programs. While there have been multiple implementations in both hardware and

software, little work has been done in the context of dynamic programming languages such as JavaScript. In this paper we evaluate the effects of a simple Thread Level Speculation approach, implemented on top of the Rhino1 7R2

JavaScript engine. The evalauation is done using the wellknown JavaScript benchmark suite V8. More specifically, we have measured the effects of our null return value prediction approach for function calls, conflicts with variables in a global scope, and the effects on the execution time.

The results show that our strategy to speculate on return values is successful, that conflicts with global variables occur, and for several applications are the execution time improved, while the performance decrease for some applications due to speculation overhead. (Less)
Please use this url to cite or link to this publication:
author
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
in
Proceedings of the Third Swedish Workshop on Multi-Core Computing (MCC-10)
pages
155 - 160
project
EASE
language
English
LU publication?
no
id
c8fceed0-d1a8-453c-a7a5-1a0a3d511acc (old id 1737996)
date added to LUP
2010-12-09 17:09:25
date last changed
2016-06-29 09:17:58
@misc{c8fceed0-d1a8-453c-a7a5-1a0a3d511acc,
  abstract     = {Thread Level Speculation at function level has been suggested as a method to automatically (or semi-automatically) extract parallelism from sequential programs. While there have been multiple implementations in both hardware and<br/><br>
software, little work has been done in the context of dynamic programming languages such as JavaScript. In this paper we evaluate the effects of a simple Thread Level Speculation approach, implemented on top of the Rhino1 7R2<br/><br>
JavaScript engine. The evalauation is done using the wellknown JavaScript benchmark suite V8. More specifically, we have measured the effects of our null return value prediction approach for function calls, conflicts with variables in a global scope, and the effects on the execution time.<br/><br>
The results show that our strategy to speculate on return values is successful, that conflicts with global variables occur, and for several applications are the execution time improved, while the performance decrease for some applications due to speculation overhead.},
  author       = {Martinsen, Jan Kasper and Grahn, Håkan},
  language     = {eng},
  pages        = {155--160},
  series       = {Proceedings of the Third Swedish Workshop on Multi-Core Computing (MCC-10)},
  title        = {An alternative optimization technique for JavaScript engines},
  year         = {2010},
}