Re: Good tests for real-world browser memory usage?

smaug <[email protected]> Tue, 13 Nov 2007 15:34:30 +0200
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
Mike Schroepfer wrote:
> Here's an even simpler case:
> 
> 
> http://www.tripadvisor.com/HotelDateSearch?d=607162&returnTo=__2F__Hotels__2D__g187514__2D__Madrid__2D__Hotels__2E__html&fromPop=false&from=HotelsButton 
> 
> 
> (make sure you allow pop-ups)
> 
> 1) Load above URL
> 2) Click on 'check rates'
> 3) allow all windows to open
> 4) close them all except 1 and go to about:blank
> 
> On Vista (Working Set):
> 
> IE7:35MB->150MB->118MB
> Minefield:35MB->118MB->94MB (88MB after "clear caches" with Stuarts 
> extension)
> Safari3:25MB->140MB->110MB
> 

So you have at least one extension.
Tested this on XP,
without *any* extensions or extra themes starting Minefield takes ~24MB
here, Safari takes 21MB.

about:blank->all windows open->close all except the first window and set 
that to about:blank
Minefield: 24MB->50MB (peak 57MB)->44MB
Safari: 21MB->80MB (peak 82MB)->70MB
IE7: 18MB->73MB (peak 73MB)->53MB
Before testing cleared all the caches/histories/cookies/etc and 
restarted browsers.
Numbers are from task manager, so not sure how reliable those are.
It is strange that max. memusage is so much lower than on Vista.

BTW, on linux(64bit), which I normally use, I've noticed something new.
Running Minefield+Chatzilla now over a week, several tabs open (gmail, 
gcalendar and tbox have been open all the time), usually 10-15 tabs, and 
chatzilla running all the time, the memusage level seems to have stopped 
to a certain level. (This is a build before the current png leak.) So at 
least on pages I use, we aren't leaking too much anymore,
and stability is quite good too :)

-Olli