diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Crankshaft Compilation Infrastructure for Google Chrome’s JavaScript Engine “V8”

Chrome now has 120 million active users, up from 40 million users one year ago. Google today introduced “Crankshaft,” a new compilation infrastructure for Google Chrome’s JavaScript engine “V8”.

“By using aggressive optimizations, Crankshaft dramatically improves the performance of compute-intensive JavaScriptapplications – often by more than a factor of two! This’ll give users a faster and more responsive experience loading web pages and applications built with complex JavaScript.

Overall, Crankshaft boosts V8’s performance by 50% on the V8 benchmark suite. In addition to improving peak performance as measured by the V8 benchmark suite, Crankshaft also improves the start-up time of web apps such as GMail,” explains Google.

Crankshaft has four main components:

  1. A base compiler compiler generates code quickly without heavy optimizations.
  2. A runtime profiler monitors the running system and identifies hot code, i.e., code that we spend a significant amount of the time running.
  3. An optimizing compiler recompiles and optimizes hot code identified by the runtime profiler.
  4. Deoptimization support allows the optimizing compiler to be optimistic in the assumptions it makes when generating code.

V8 with Crankshaft for the 32-bit Intel architecture is available today in the V8 bleeding edge repository and in canary builds of Chrome. Work on the ARM and 64-bit ports has started.


Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...