Chrome Beta Introduces Speedier Concurrent JavaScript Compilation

Google gave JavaScript a kick in the pants with its V8 engine a while ago, but it has continued to tune the performance of it and Chrome over the years, with the latest improvement being background JS compilation in the browser’s most recent beta.

As described in a blog post by Google’s Yang Guo, the beta now includes “concurrent compilation”, which essentially means JavaScript compilation can now be done on a separate thread, rather than the main one.

The image below shows where asynchronous compilation doesn’t stop the main thread from executing, allowing the browser (and whatever JS-powered application is running at the time) to continue unabated. In this case the app is the Mandreel test from the Octane benchmark:

According to Guo, the Nexus 5 saw a 27 per cent performance increase in the Mandreel test, thanks to this development and other browser-based application should run better across the board.

Note that concurrent compilation isn’t available in the stable version of Chrome, you’ll have to grab the beta to test it out.

Compiling in the background for a smoother user experience [Chromium blog, via TheNextWeb]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments