Feeds

Google counters juice V8 Javascript engine

Beta channels primed

New hybrid storage solutions

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.” ®

Security for virtualized datacentres

More from The Register

next story
Not appy with your Chromebook? Well now it can run Android apps
Google offers beta of tricky OS-inside-OS tech
Greater dev access to iOS 8 will put us AT RISK from HACKERS
Knocking holes in Apple's walled garden could backfire, says securo-chap
NHS grows a NoSQL backbone and rips out its Oracle Spine
Open source? In the government? Ha ha! What, wait ...?
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
Top 5 reasons to deploy VMware with Tegile
Data demand and the rise of virtualization is challenging IT teams to deliver storage performance, scalability and capacity that can keep up, while maximizing efficiency.
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.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.