Printed from http://www.electronista.com

Crankshaft for Chrome gives dramatic leap to JavaScript

updated 03:50 pm EST, Tue December 7, 2010

Google outs Crankshaft for V8 to boost JavaScript

Google on Tuesday announced a new compilation infrastructure for V8, the JavaSript engine in Google Chrome. Called Crankshaft, it is said to more than double the speed of JavaScript apps in most cases, such as when loading web pages and applications created with complex JavaScript. Benchmark tests reveal that Richards, DeltaBlue and Crypto get the most benefits.

Crankshaft boosts V8 performance by 50 percent on the V8 benchmark suite, and is said to offer the biggest performance jump since Chrome was launched in 2008. It's said to improve the start-up time of web apps such as Gmail, and page cycler tests improve load performance in Chrome by 12 percent in pages with a significant amount of JavaScript code.

The boosts were attained thanks to adaptive compilation. Benchmarks that take a few milliseconds to execute, such as SunSpider, don't benefit as much with Crankshaft due to their small size. Crankshaft heavily optimizes code that's frequently used and does not concern itself with optimizing code that isn't. The more work an app does the bigger the gains will be, Google said.

A V8 engine with Crankshaft for Intel's 32-bit processor architecture is now available and should be in developer versions of Chrome. The ARM and 64-bit versions are currently under development.








By Electronista Staff
toggle

Comments

Login Here

Not a member of the MacNN forums? Register now for free.

toggle

Network Headlines

toggle

Most Popular

Sponsor

Recent Reviews

Kenu Airframe Plus

Simple, stylish and effective, the Kenu Airframe + portable car mount is the latest addition to Kenu's lineup. Released earlier this y ...

Plantronics Rig Surround 7.1 headset

Trying to capture the true soundscape of video games can be a daunting task. Looking to surround-sound home theater options, users hav ...

Adesso Compagno X Bluetooth keyboard

The shift from typing on physical keyboards to digital versions on smartphones and tablets hasn't been an easy for many consumers. Fro ...

Sponsor

toggle

Most Commented

 
toggle

Popular News