Like many of the other Firefox memory changes, this one leaves me feeling a little ambiguous. On the one hand, obviously keeping memory usage down is good. On the other hand, waiting to decompress/decode images until they are visible to the user means that there are obviously going to be performance trade-offs (and also, obviously, design/engineering trade-offs). Speaking just from my personal usage: I don't think th…
With the capbility being built, if there is a performance tradeoff (I didnt look through the bugs, but imagine it was already thought about), then its now possible to do 'hey you have a load of spare memory' pre decode all the things type optimisations
Firefox fixes save gigabytes of memory on image-heavy pages
41–50 of 203 posts
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#42Earlier quoted context omitted.
It depends how you use it: e.g. I normally have many many tabs open, and Firefox handles that much better on my system than Chromium.
really? I have about 20 tabs open on Chrome now with no lag, with one tab open in Firefox my whole system grinds to a halt.
My experience is that performance on Chrome degrades beyond 30 or 40 tabs, though the exact value depends on your system.
You can have Firefox open with 400 tabs without too much performance degradation. Many tabs will be swapped to disk or not even loaded, but the tabs you actually use will work just fine.
(also, Firefox on Mac seems to perform less smoothly than on other platforms, though I'm not entirely sure why)
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#43I just compared it with Chrome using the example page mentioned in article: In Firefox Nightly at the initial page load it uses around 250 MB memory and with scrolling it stays around that. In Chrome (in Canary too) initial it uses around 300 MB but scrolling keeps filling the memory indefinitely (I stopped scrolling above 1.2GB)
Yea, I also noticed that, save for the pages with tons of images, firefox has actually been better than chrome in that respect for the last few releases. Now with this fix, I'm seriously thinking of jumping back. Then I'll finally have my sweet DownThemAll again. Many kudos to the firefox devs, performance and memory-usage is very important, and it seems they realized that before it was too late. Even with my 16GB I'…
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#44Earlier quoted context omitted.
It depends how you use it: e.g. I normally have many many tabs open, and Firefox handles that much better on my system than Chromium.
really? I have about 20 tabs open on Chrome now with no lag, with one tab open in Firefox my whole system grinds to a halt.
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#45Earlier quoted context omitted.
Gee, the trolls are up early today...
On one hand true, on the other - it isn't that those fixes are some magic, extra smart hackery (at least on the idea level, dunno about the implementation). Don't load an image that user don't see, remove an image that user saw but don't see anymore - those seem as rather obvious solutions.
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#46Earlier quoted context omitted.
It depends how you use it: e.g. I normally have many many tabs open, and Firefox handles that much better on my system than Chromium.
really? I have about 20 tabs open on Chrome now with no lag, with one tab open in Firefox my whole system grinds to a halt.
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#47Sounds great - does anyone know how this compares to Chrome (both in terms of approach and results)?
As spyder says in another thread of this post, on the given page ( http://congressoamericano.blogspot.fr/p/fotos-do-congresso-a... ) Chrome decodes and decodes... the memory usage goes up and up. I was using 1.5GO of memory before closing it (and still far from having loaded everything).
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#48Like many of the other Firefox memory changes, this one leaves me feeling a little ambiguous. On the one hand, obviously keeping memory usage down is good. On the other hand, waiting to decompress/decode images until they are visible to the user means that there are obviously going to be performance trade-offs (and also, obviously, design/engineering trade-offs). Speaking just from my personal usage: I don't think th…
If image decoding is asynchronous (don't know - guessing it is already?) and you decode them when they get near to the viewport and not just when they become visible, then it should always be decoded by the time you scroll to it and yet never jank the page. Scrolling a long way really fast probably means there's a small delay while it decodes images, but surely that's worth it to save gigabytes of memory?
I'm not sure _save_ is the right word here...using available memory has no particular cost to me over not using it. Of course, the _available_ modifier is relevant, so I take your point.
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#49Is it time to switch back to Firefox from Chrome? I remember when I originally switched around Firefox 3.5.x Chrome was much leaner and faster. Has the pendulum finally swung back the other way?
Re: Firefox fixes save gigabytes of memory on image-heavy pages
#50Earlier quoted context omitted.
The idea of fixing them is easy, the practicalities are clearly not - take a look at the size of the bug reports and patches that go with them...
I agree it is tricky. But not as bad as curing cancer, by far. Practically, cancer cannot be cured even by multiples of all the effort than went into those two bugs.