What is wrong?

Notice: Before sending an error with the download, please try the direct link first: Improving JavaScript Performance by Deconstructing the Type System

Loading...

You must sign in to do that.

Forgot password?

Improving JavaScript Performance by Deconstructing the Type System

Improving JavaScript Performance by Deconstructing the Type System

Improving JavaScript Performance by Deconstructing the Type System

Score: ---- | 0 votes
| Sending vote
| Voted!
|

Book Details:

pos
Global
pos
Category
Year:2014
Publisher:University of Illinois
Pages:12 pages
Language:english
Since:01/07/2014
Size:457 KB
License:Pending review

Content:

Increased focus on JavaScript performance has resulted in vast performance improvements for many benchmarks. However, for actual code used in websites, the attained improvements often lag far behind those for popular benchmarks.

This paper shows that the main reason behind this shortfall is how the compiler understands types. JavaScript has no concept of types, but the compiler assigns types to objects anyway for ease of code generation. We examine the way that the Chrome V8 compiler defines types, and identify two design decisions that are the main reasons for the lack of improvement: the inherited prototype object is part of the current object’s type definition, and method bindings are also part of the type definition. These requirements make types very unpredictable, which hinders type specialization by the compiler. Hence, we modify V8 to remove these requirements, and use it to compile the JavaScript code assembled by JSBench from real websites. On average, we reduce the execution time of JSBench by 36%, and the dynamic instruction count by 49%.

Categories:

Tags:

Loading comments...

Scanning lists...

The book in numbers

global rank

online since

01/07/2014

rate score

Nothing yet...

votes

Nothing yet...

Social likes

Nothing yet...

Views

Downloads

This may take several minutes

Interest

Countries segmentation

This may take several minutes

Source Referers

Websites segmentation

evolution

This may take several minutes

Loading...