Performance is the side-effect, not the cause. The cause is the fact that chrome uses separate processes both for security, and so if one tab crashes, you don't lose them all. The fact that it uses more memory is a design tradeoff (although with shared text pages it's not as bad as one might think). The real question is whether you would ever have that many tabs open, and how much memory do you have on your desktop?
Scalability
61–70 of 165 posts
Re: Scalability
#62Earlier quoted context omitted.
> The real question is whether you would ever have that many tabs open, and how much memory do you have on your desktop? I have 60 tabs open now (in FF), and this is after closing most of them, on a 32-bit system with 4GB of RAM. I regularly hit over 200 tabs when browsing.
200 tabs.. how is that possible? Do you ctrl+click on every possible links on every page?! I'm actually really surprised. I, too, can't stand more than 5-6..
That's just one use case, but there are certainly many others.
Re: Scalability
#63Performance is the side-effect, not the cause. The cause is the fact that chrome uses separate processes both for security, and so if one tab crashes, you don't lose them all. The fact that it uses more memory is a design tradeoff (although with shared text pages it's not as bad as one might think). The real question is whether you would ever have that many tabs open, and how much memory do you have on your desktop?
The limit is found pretty soon on older machines; while the OP tests on a Mac with 8GB of Ram, on my main machine I have only 2GB of Ram, and Chrome becomes unresponsive after ~10 tabs opened. I didn't think Firefox would be better but if it is, I might go back to it!
Still, I prefer manual memory usage control (I have a meter in my panel, near the clock). This feels easier than less-predictable browser-wide hangs where I can't even switch the tab. I've tried Firefox 4 when it was released and I was unsatisfied with its responsiveness, for example, when I open a lot of flash-heavy tabs. While I've heard Mozilla devs did move plugins to separate process, in practice there were cases that the browser did hung for several seconds.
Re: Scalability
#64Anyone care to share how their usage patterns lead to having hundreds of tabs open at a single time? How is it even feasible to find a specific tab without doing a time consuming linear search? I rarely have more than 4-5 tabs open at a time, so I'm honestly curious.
Re: Scalability
#65Earlier quoted context omitted.
What you mean is not in a mandatory fashion and at the C code level and that's true. But what I meant is that you can do it for the objects you manage, such as JS code and the rest of the webpage. It doesn't prevent an issue in the Firefox interpreter itself.
Every browser does that. Virtually all the problems that matter are internal to the browser.
Likewise for IE, but they're per process like Chrome now.
Not sure about other webkit browsers and Opera, it's likely other wekbit browsers (except safari) do not do that.
Re: Scalability
#66Performance is the side-effect, not the cause. The cause is the fact that chrome uses separate processes both for security, and so if one tab crashes, you don't lose them all. The fact that it uses more memory is a design tradeoff (although with shared text pages it's not as bad as one might think). The real question is whether you would ever have that many tabs open, and how much memory do you have on your desktop?
Re: Scalability
#67Interesting. This doesn't match my experience at all. When I have lots of tabs open in Firefox, there are occasional pauses where everything, including the browser's chrome, freezes. I've never noticed these pauses in Chrome. And yes, I do open hundreds of tabs. (As a side note, Chrome's far smaller minimum tab size is a major bonus for my usage, simply because I can see more tabs without scrolling the tab bar).
Re: Scalability
#68Earlier quoted context omitted.
Every browser does that. Virtually all the problems that matter are internal to the browser.
thats not true. FF 3.6 and before that did not compartment it per tab. Likewise for IE, but they're per process like Chrome now. Not sure about other webkit browsers and Opera, it's likely other wekbit browsers (except safari) do not do that.
Re: Scalability
#69Opera's doing just fine. As I am writing this, Opera has all 150 tabs open and still feels snappy. ~1.5GB memory and ~30% CPU (currently). I could not measure the time but it was well below 10min.
Opera has always been a performer when low specs and lots of tabs were involved, cruising with 50+ tabs when Firefox and Chrome choked my system at 10+ tabs.
That said opera is known to be rather fast.
Re: Scalability
#70Windows, Linux or OSX? I'm curious because on Linux, threads and processes are essentially the same thing - they're the same data structure in the kernel. But as far as I know, that is not true on Windows. I also find his conclusion a bit disingenuous: I never have more than ~10 tabs open. I'm more interested in the performance around my actual usage, not an order of magnitude more.
How is it disingenuous at all? It clearly specifies the conditions and re-emphasizes in the conclusion that the analysis was done based on which browser handles having a large number of tabs open better. Also, the plural of anecdote is not data, but I routinely have more than 100 tabs open. So this analysis is clearly relevant and interesting to me. Edit: proof-reading.