As Chrome inches ahead, Firefox slims down

A new 'diet' could give Mozilla's browser a considerably smaller footprint.

Google's Chrome browser is slowly but surely creeping up on Firefox in terms of market share, according to the latest Net Applications data, but Mozilla continues to tweak and polish Firefox with an ongoing series of new improvements.

The latest effort under way for Firefox is to dramatically shrink the amount of memory it requires, according to Mozilla developer Nicholas Nethercote.

"SpiderMonkey is on a diet," wrote Nethercote in a blog post earlier this week, referring to Firefox's JavaScript engine. "There's an incredible amount of work being done on SpiderMonkey at the moment, and a lot of it will help reduce Firefox's memory consumption."

Indeed, though the changes may not be visible to users until Firefox 11 in several months, those and other related tweaks could result in a RAM footprint for the browser that's only a third of its current size, according to a report on ExtremeTech.

'It's a Big Hairball'

Developers are changing numerous aspects of SpiderMonkey to achieve the desired slimmed-down effect. JSObjects, for instance, which represent objects, are being reduced in size from 40 bytes on 32-bit platforms and 72 bytes on 64-bit platforms to 16 bytes and 32 bytes, respectively, Nethercote explained.

TraceMonkey, meanwhile--which is SpiderMonkey's original just-in-time (JIT) compiler, predating JägerMonkey-- is being retired, he added.

"With the improvements that type inference made to JaegerMonkey, TraceMonkey simply isn't needed any more," Nethercote explained. "Furthermore, it's a big hairball that few if any JS team members will be sad to say goodbye to."

Then there's IonMonkey, SpiderMonkey's third JIT compiler, which is expected to generate code that's both faster and smaller in size.

An Ever-Closer Race

Chrome rose from 16.20 percent of the desktop browser market in September to 17.62 percent in October, Net Applications reported this week, largely at the expense of Microsoft's Internet Explorer, which fell from 54.39 to 52.63 percent. Firefox, meanwhile, increased from 22.48 percent in September to just 22.52 percent in October.

Memory consumption is just one of many improvements under way for Firefox, but it's certainly an important one. I'm looking forward to seeing how much of a difference it makes.

More about: Google, Microsoft, Mozilla
References show all

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
Users posting comments agree to the Computerworld comments policy.
Login or register to link comments to your user profile, or you may also post a comment without being logged in.
Related Coverage
Related Whitepapers
Latest Stories
Community Comments
Tags: applications, browsers, firefox, Google, internet, mozilla, software
Whitepapers
All whitepapers
Sign up now to get free exclusive access to reports, research and invitation only events.
Featured Download
/downloads/product/145/microsoft-security-essentials/

Microsoft Security Essentials

Microsoft Security Essentials provides your home PC with real-time protection. It constantly uses the latest technology ensuring that you will always stay up to date ...

Computerworld newsletter

Join the most dedicated community for IT managers, leaders and professionals in Australia