» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with performance + Firefox

Firefox 3 Memory Usage

Stuart Parmenter has been blogging about his work on memory usage and various malloc() libraries and their tradeoffs.

In his latest, he talks about the memory usage in Firefox 3 today and the work that he has done:

  • Reduced Memory fragmentation: One of the things we did to help was to minimize the number of total allocations we did, to avoid unnecessarily churning memory. We’ve managed to reduce allocations in almost all areas of our code base.
  • Fixed cycles with the Cycle collector: For Gecko 1.9, we’ve implemented an automated cycle collector that can recognize cycles in the in-memory object graph and break them automatically.
  • Tuned our caches: In many cases we’ve added expiration policies to our caches which give performance benefits in the most important cases, but don’t eat up memory forever. We now expire cached documents in the back/forward cache after 30 minutes since you likely won’t be going back to them anytime soon. We have timer based font caches as well as caches of computed text metrics that are very short lived.
  • Adjusted how we store image data: In Firefox 3, thanks to some work by Federico Mena-Quintero (of GNOME fame), we now throw away the uncompressed data after it hasn’t been used for a short while. Another fantastic change from Alfred Kayser changed the way we store animated GIFs so that they take up a lot less memory. We now store the animated frames as 8bit data along with a palette rather than storing them as 32 bits per pixel.

What about the tests?

For the results below we loaded 29 different web pages through 30 windows over 11 cycles (319 total page loads), always opening a new window for each page load (closing the oldest window alive once we hit 30 windows). At the end we close all the windows but one and let the browser sit for a few minutes so see if they will reclaim memory, clear short-term caches, etc. There is a 3 second delay between page loads to try and get all the browsers to take the same amount of time.

Great work guys, and thanks for talking to us about how you are doing this work!

Ajax: Ajaxian

How to lower the amount of memory that Firefox uses - Simplehelp

If your computer starts to slow down after you've been using Firefox for a while, you may be able to regain some of your system resources by limiting the amount<sep/>

Firefox: del.icio.us/tag/firefox

YSlow

YSlow analyzes web pages and tells you why they're slow based on Yahoo's rules for high performance web sites.

Firefox: del.icio.us/tag/firefox

YSlow :: Firefox Add-ons

Nice FF plugin that tells you why pages load slowly/quickly

Firefox: del.icio.us/tag/firefox

Firebug can make Gmail slow

Disable Firebug for google.com or If you'd like to keep Firebug running, you may improve Gmail performance by following these steps

Firefox: del.icio.us/tag/firefox

Page 1 | Next >>