Live data from Hacker News

Multi-process Firefox brings 400-700% improvement in responsiveness

techcrunch.com

261–270 of 346 posts

Re: Multi-process Firefox brings 400-700% improvement in responsiveness

#261

Earlier quoted context omitted.

Maybe I'm misreading things but it looks like it's been constantly getting worse since 2012?

They're getting worse at a linear pace, while hardware improves exponentially. Effectively that's a pretty good improvement each year.

Actually hardware has regressed, because most traffic is from mobile devices.

Re: Multi-process Firefox brings 400-700% improvement in responsiveness

#262
post #22

Its incredible multi-process took this long. Just goes to show you that your architecture decisions last a long time and are often difficult to change. Chrome had this from day one and never had a big and old codebase to worry about. Yet it took Firefox many years to get multi-process going and my understanding is that its much more limited and simpler than what Chrome or Edge do. I'm also a little surprised there ha…

|| I'm also a little surprised there hasn't been an attempt to launch a completely new Firefox from the ground up. I (hopefully) think this is what Servo is and will end up being. Has no legacy code, and is tiny in comparison to Gecko. It's OS support is fairly modern, and has no interest in supporting Windows XP. It's also written in such a way that allows them to be more multi-threaded and more concurrent than trad…

> I (hopefully) think this is what Servo is and will end up being.

Not really the plan. Servo may eventually become a product, but that would be in the very far future. But Gecko can use lessons learned from Servo, and try to share code with it, so you can incrementally replace parts of Gecko.

> and has no interest in supporting Windows XP.

I don't think that's the case? We don't have users on XP so we may not support it right now, but that's just an issue of priorities and not having the resources to fix all the things at once.

There are more XP users of Firefox than there are on Linux (probably for other browsers too). If Servo was a product it would probably care about XP.

Re: Multi-process Firefox brings 400-700% improvement in responsiveness

#263
post #19

“We can learn from the competition,” said Dotzler. “The way they implemented multi-process is RAM-intensive, it can get out of hand. We are learning from them and building an architecture that doesn’t eat all your RAM.” That's the money quote here. I've been waiting for this for a long time actually. Every browser I've tried except Firefox just basically eats all my RAM and other app performance (e.g. compiling stuff…

The thing is, workstation and laptop RAM is so cheap. If your browser is eating an appreciable chunk of your 16 or 32GB of RAM, you need to close some tabs.

Student here. Can't afford "cheap" laptop RAM.

Re: Multi-process Firefox brings 400-700% improvement in responsiveness

#266
Every odd browser performance topic is dominated by people claiming Firefox has been faster and more scalable than Chrome for years. Every even one is dominated by people claiming the opposite.

This thread seems to be the latter, my experience is the former. If you see bad performance/memory usage with a small number of tabs, are you sure that it's not due to bad plugins?

I think about:memory and about:performance could be helpful. I seem to recall they used to have some reporting on known problem plugins (perhaps as part of https://www.mozilla.org/en-GB/plugincheck/).

Re: Multi-process Firefox brings 400-700% improvement in responsiveness

#267
post #189

Earlier quoted context omitted.

My hardware doesn't improve exponentially. In fact, my current work laptop has less memory (8G) than my previous one (16G) or previous desktop machine (also 16G). And it mostly works with Chrome, but I stopped using Firefox because my habit of opening dozens of tabs led to stratospheric memory usages that killed even 16G machines. That was somewhere in 2013, looks like it's even worse now?

> I stopped using Firefox because my habit of opening dozens of tabs led to stratospheric memory usages that killed even 16G machines I don't think that's representative of how Firefox works. I used Firefox similarly in 2013 and didn't see those problems; the users supported by my company, mostly on 4GB machines, also didn't see them. I have a 112 tabs open right now and Firefox has been running for a couple of weeks…

I see your 112 and raise you a 875. FF worked just fine that too with just a less than 1 GB of RAM. I had to block flash, hand tune some of the cache sizes and have a tab uloader etc. No other browser seemed capable of handling my rather unique use case.

Re: Multi-process Firefox brings 400-700% improvement in responsiveness

#268
post #253
post #78

Earlier quoted context omitted.

The main reason tabs aren't saved to disk isn't a concern about responsiveness, it is a concern about data loss. You have to be very sure that you restore the state exactly. What if you spent a few hours filling out some government form online, then you went and took a break by watching a few YouTube videos? Memory usage might spike up, and the browser decides to unload the tab with the form. You'd be mad if form sta…

How about detecting the pages that don't have stateful elements, and then only serializing those?

With applications written in javascript ? Stateful on the client side alone or stateful on both sides ? It wont be safe to assume that state is persisted transparently on the server side. May be they just cache it for a while.

To make this work reliably would be quite difficult.

Re: Multi-process Firefox brings 400-700% improvement in responsiveness

#269

Earlier quoted context omitted.

I'm at 2.9G virtual 1.277g resident with about 130 tabs open (yeah, I'm a goofball but I like my tabs). It's pretty responsive on a thinkpad x220 i5-2540M @ 2.6ghz, 8G of ram and an SSD.

Not even criticizing, but how do you manage 130 tabs? How do you find tabs you're looking for? You must have some kind of system!

Firefox lets you search your open tabs (urls/titles/etc). The simplest way to find the tab you're looking for is to do just that: search.

Re: Multi-process Firefox brings 400-700% improvement in responsiveness

#270
post #189

Earlier quoted context omitted.

My hardware doesn't improve exponentially. In fact, my current work laptop has less memory (8G) than my previous one (16G) or previous desktop machine (also 16G). And it mostly works with Chrome, but I stopped using Firefox because my habit of opening dozens of tabs led to stratospheric memory usages that killed even 16G machines. That was somewhere in 2013, looks like it's even worse now?

Firefox has gotten much more stable over recent years in regards to having excessive amounts of tabs open. I can have over 300 tabs open and it's stable (I was using Waterfox when doing this in Windows though).

I have over 300 saved tabs in Firefox on my desktop, and it is stable, but I notice it runs quite a bit slower than when I only have a few open. I really need to start closing some tabs here and there...

It only loads the actual tab when you activate it though, so I don't think all the tabs are being stored in memory, just the ones you activate during a session. I probably actually load about 30 or so during a session, with many more being opened, looked at then closed.

Tab Mix Plus FTW!

Post reply on HN