Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Webmaster > Google News

May 25th, 2009, 11:23 GMT · By

The Chromium Team Tests V8's Scalability

SHARE:

Adjust text size:


V8 is faster than many JavaScript engines
Enlarge picture
The Chromium blog had a post recently about the scalability of the V8 JavaScript engine, in which it describes why it is important for a JavaScript engine to scale well when faced with modern complex web applications. With web applications becoming more and more powerful, replacing desktop applications in some cases, the JavaScript engines in browsers are becoming increasingly important. This has led to a boost in development
focusing on the JavaScript engines on all major browsers.

Chromium is an open-source project based on Google's browser Chrome that aims to bring the browser to Linux distributions as well as provide a more “open” environment for the project, which they feel Google isn't doing. The team describes what they are doing to ensure the V8 engine is capable of handling even the most demanding of web applications.

They begin by explaining why there is a need for scalability in the case of JavaScript engines. “With the increased complexity comes more JavaScript code and more objects. An increased number of objects puts additional stress on the memory management system of the JavaScript engine, which has to scale to deal efficiently with object allocation and reclamation. If engines do not scale to handle large object heaps, performance will suffer when running large web applications.”

Splay Scalability Benchmark
Enlarge picture
Next they show how they are approaching the problem using 'generational garbage collection', which is based on the fact that most objects created either die very young or are long-lived. The garbage collector in V8 doesn't check objects marked as long-lived on every garbage collection but instead it focuses on the newly created objects. The team also added a new benchmark in the V8 benchmark suite. It is called the Splay benchmark and it builds a large splay tree then modifies it by creating and removing nodes from the tree. The test showed that V8 scaled very well with only a 17% drop in performance after increasing the working set seven times.


FILED UNDER:
Chrome
Chromium
JavaScript
V8

TELL US WHAT YOU THINK:

1,491 hits · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Google Chrome Is Live – Download Here!

Download Google Chrome 2.0 Pre-Beta

Google Chrome 2 Fist Impressions

Google Chrome's Local Web Pages Security Policy 101

A Simple Javascript Example

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM