Feeds

Google counters juice V8 Javascript engine

Beta channels primed

Secure remote control for conventional and virtual desktops

Google’s V8 engine is getting more picky about the Javascript code it optimises to boost the performance of the search giant’s browser.

The current developer and beta channel releases of Chrome now come with a version of V8 that uses a new counters-based algorithm to decide which functions to optimise, Google has revealed.

Google claimed a 25 per cent increase in speed with Chrome 19, with the updated version of V8, compared to Chrome 18 on SunSpider performance tests.

V8 compiles Javascript in two stages: first to machine code and then optimising it, a fact that means V8 needs to predict what functions to optimise.

Traditionally V8 has stopped once every millisecond to look at the running functions and decide which should be optimised. As the Chromium blog put it: "A single millisecond can be a long time to wait before optimizing!“

The new V8 algorithm uses counters to keep track of how often Javascript functions are called and loops executed in a program. The Chromium blog said: “That way V8 is able to quickly gather fine-grained information about performance bottlenecks in a JavaScript program, and to make sure that the optimizing compiler's efforts are spent on those functions that deserve it most.” ®

Beginner's guide to SSL certificates

More from The Register

next story
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
You stupid BRICK! PCs running Avast AV can't handle Windows fixes
Fix issued, fingers pointed, forums in flames
NSA SOURCE CODE LEAK: Information slurp tools to appear online
Now you can run your own intelligence agency
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
Soz, web devs: Google snatches its Wallet off the table
Killing off web service in 3 months... but app-happy bonkers are fine
prev story

Whitepapers

Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
Driving business with continuous operational intelligence
Introducing an innovative approach offered by ExtraHop for producing continuous operational intelligence.
10 threats to successful enterprise endpoint backup
10 threats to a successful backup including issues with BYOD, slow backups and ineffective security.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.