7 ms·
400 tabs. Including several active fancy SPAs, like gMail and two copies of Slack, a gDocs or two, sometimes the godawful work LMS. Stock Firefox 50 (32bit),
by jholman 10y ago
400 tabs. Including several active fancy SPAs, like gMail and two copies of Slack, a gDocs or two, sometimes the godawful work LMS.
Stock Firefox 50 (32bit), untweaked with no relevant add-ons (well, except AdBlock Plus), Windows 10, just over 400 tabs open, under 10% CPU, under 2GB of RAM (on a 16GB machine). If I freak it out by doing a bunch of flipping through dormant tabs, I can spike CPU pretty good as it does layout on fifty tabs at once, but who cares, I don't do that. I do find that I need to restart my browser every few hundred tab open/close cycles, which takes under 30 seconds (just did the restart, that dropped RAM use to 1.3GB, but it'll get back up to 1.9 pretty soon). Restarts used to be a lot less frequent, and a lot faster, before work required me to keep two slack clients open. Running multiple YouTube windows at once seems to be bad for uptime.
Regarding OP's complaints, opening a new tab take imperceptible time, a new window is about half a second (only marginally slower than notepad), and switching tabs can be done several times per second.
I have put ZERO effort into make Firefox run faster, unless you count running AdBlock. I haven't even bothered to figure out which is the best adblocker.
Why do people use Chrome, again?
(edit to add a few details)
- Fnoord 10y agoTry uBlock Origin. It performs even better than ABP, and hasn't sold out.
- rekshaw 10y agoI myself made the switch from both Adblock and Adblock Plus to uBlock Origin, best decision ever!
- _asummers 10y agouBlock Matrix is good too, if you want to manage all the things. You basically white/blacklist all the image, css, xhr, etc. requests on the page and can set up rules like allow iframe from youtube.com on all sites, to allow the embed youtube frame to show up on pages. Many sites are broken on first load until you get your rules straight but they're trivially fixed. You just click on boxes to allow or deny the particular thing. HN looks like: http://i.imgur.com/lfjkhkl.png http://i.imgur.com/lfjkhkl.png
- PhasmaFelis 10y agoCan we stop the "sellout" business? Having a clearly stated and one-click reversible whitelist is neither dishonest nor bad for the user. I like having the option to support sites I enjoy without massively inconveniencing myself. You prefer maximum adblocking, and that's fine, but there's nothing at all wrong with giving us both the choice.
- Fnoord 10y ago> Can we stop the "sellout" business? Having a clearly stated and one-click reversible whitelist is neither dishonest nor bad for the user. It is dishonest and bad for the general public. Users expect their adblocker to block adds; not block 'some' adds because of Mafia practices, or corruption (ie. advertising companies paying large, inappropriate sums of money to the company behind ABP in order to be whitelisted by default). > I like having the option to support sites I enjoy without massively inconveniencing myself. You can still do this on a case-by-case scenario with uBlock Origin. > You prefer maximum adblocking, and that's fine, but there's nothing at all wrong with giving us both the choice. This is false dichotomy. You have the same very choice with uBlock Origin. And uMatrix for that matter. I'm also not taking away your choice; nothing prevents you from installing and using ABP. What I will not do is stopping calling what ABP does sellout. Because as I argued above it is corruption. On top of that, uBlock Origin is performance-wise better than ABP [1]. [1] https://github.com/gorhill/uBlock#performance https://github.com/gorhill/uBlock#performance
- PhasmaFelis 10y ago> It is dishonest and bad for the general public. Users expect their adblocker to block adds You still seem to be under the impression that ABP is deceptive. It's not. It explains the "acceptable ads" list and gives you the option to disable it first thing after install. It is not doing anything without the user's knowledge. They're providing a perfectly honest service that you aren't interested in, and you think they should feel bad for that. > You can still do this on a case-by-case scenario with uBlock Origin. I specifically said without inconveniencing myself. Building up custom adblock settings for various sites is a chore and I have better things to do with my time. I choose to use a product that takes care of that chore for me, for the most part. You choose to take the time to personalize things, and that's fine; I've done the same in other circumstances. But that's a personal choice, not a moral one.
- pawadu 10y ago10 minutes and 2-3 tabs on thingiverse.com can easily bring my firefox to its knees. I think its a combination of badly written code, webgl and maybe even adblocker breaking some otherwise mostly working code.
- barrkel 10y agoI opened up 12 tabs on thingiverse.com on FF, clicking on random links on the page, scrolled to the bottom of several of the expanding lists, and desktop Slack (implemented using Electron) is still consuming more CPU than FF on my laptop. (Lots of extensions, including Tree Style Tabs, Session Manager, Tab Mix Plus, uBlock Origin, RefControl, Cookie Controller, etc.)
- pawadu 10y agoclose everything, restart the browser, go to thinigiverse, open some random design pages and browse a few of the design files (the blue ones). now watch your memory and CPU usage :)
- com2kid 10y ago> Stock Firefox 50 (32bit), untweaked with no relevant add-ons (well, except AdBlock Plus), Same setup, but my Firefox leaks memory like a sieve. It will crash 2x a day easily. That said, I also have LastPass installed, I am using uBlock instead of ABP (though uBlock uses less memory anyway), and I also have RES installed. I have seen websites leak incredible amounts of memory. To some extent I don't even know how much it matters what browser is used, if the JS is bad enough.
- timonovici 10y agoMy worst problems were with Toptal's website. I even tweeted them about it, but it still leaked memory like crazy. Maybe they fixed it already, but I wouldn't know - they didn't have articles that interest me in a while. Anyway. I have Firefox with uBlock, on Archlinux. With JS disabled. 400MB, about a hundred tabs. I do recommend using it that way. I also have Chromium, for things that require JS - youtube, facebook and the like.
- kutkloon7 10y agoHow can a site leak memory? Javascripts is garbage-collected.
- bzbarsky 10y agoEasy: add it to something that's alive while the site is alive. Here's an example that leaks some memory every 100ms while you have the site open: window.leakyArr = []; function leakStuff() { leakyArr.push("This is leaked" + Math.random()); } setInterval(leakStuff, 100); Of course if you unload the page this will all be collected. But if you have a page you leave open for a long time and it does stuff like this, it's possible for the page to use hundreds of megabytes of RAM. In fact, twitter does just that if you leave it open for a day or three, for reasons more or less like the above: they're showing or caching all the stuff that came in since you opened the page. That's more and more stuff as time goes on.
- deleted 10y ago
- varjag 10y agoThis Firefox instance I reply from has a bit under 1.3Gb allocated, with 7 open tabs. Three of the tabs are primitive blog articles, a couple weren't even loaded until I clicked on them now. Adblock Plus, PassFF and NextPlease are the only extensions running; I remember though the extensions didn't make a dent in memory footprint.
- SeanDav 10y agoNearly 400 tabs open across several browser windows. Firefox with Tabmix plus and noscript addons. Performance and memory use is very comfortable with very few browser crashes. I use Chrome for websites that use huge amounts of JavaScript links, which are pain to use with noscript. Chrome does not like a lot of tabs open and chews up memory and performance if forced to run large numbers of tabs.
- Robin_f 10y agoThis is mostly because Chrome starts a new process for each tab. However, Firefox is also heading in this direction.
- Crespyl 10y agoIt's my understanding that Chrome is 1:1, while Firefox is M tabs on N threads, which has been a decent compromise in my experience so far.
- traviswatkins 10y agoFirefox is going for at most N+1 cores worth of processes, as I understand it (one per core for websites and one extra for compositing and the UI) and is doing to use cooperative threading (Quantum DOM) to improve responsiveness within those processes without the overhead of running a process per website.
- Robin_f 10y agoAlright, good to know. I had the idea that they were going in the same direction as Chrome.
- mapcars 10y ago>400 tabs >like gMail and two copies of Slack, a gDocs or two, sometimes the godawful work LMS. >under 10% CPU, under 2GB of RAM Any proofs? Stock firefox can't go further than 100 tabs, and you can't do literally anything else on your computer at that time.
- pfisch 10y agoThat is not my experience. Maybe the mac version isn't so great?
- bzbarsky 10y ago> Stock firefox can't go further than 100 tabs about:tabs (see https://addons.mozilla.org/en-US/firefox/addon/tab-stats/ https://addons.mozilla.org/en-US/firefox/addon/tab-stats/ ) is showing me "151 tabs" and "57 tabs have been loaded" for my current session. The other 90-some I haven't looked at this session, so they're left unloaded. I can post a screenshot, but I could fake that just as easily as I could fake my claims above, so it's not any more "proof". I'm certainly doing other things right now (e.g. compiling). It _really_ depends on what you have in your 100 tabs. If you have 100 copies of gmail, you're more likely to have a bad time than if you have 100 sane pages. ;)
- jholman 10y ago> Any proofs? Ha ha, what proof would satisfy you, where my word does not, O doubting Thomas? If I was going to lie to you on HN, I'd also be able to fake a screenshot. Maybe you'd like administrator access to my machine, so you can satisfy your smug certainty of what is not possible? I haven't had my FF (stock plus a few plugins) under 300 tabs in months. It doesn't stop me from playing AAA titles, max settings at high resolution, at 30-60 fps. Sometimes while running a VM (because Windows is a gaming OS, not a work OS). I only mention that to disabuse you of the claim that... > you can't do literally anything else on your computer at that time I assure you, I can.
- newscracker 10y ago> Stock firefox can't go further than 100 tabs, and you can't do literally anything else on your computer at that time. Perhaps it's because of what else is running on your system and your system's hardware and OS. I regularly use Firefox with a few hundred tabs open across a couple of windows. On Windows, I find that if I have IE or Edge or Chrome running, each with a few tabs, most of my RAM just goes to them. I also hibernate my system and restart it only once every few weeks. I use several extensions with Firefox too: - uBlock Origin (block ads) - Privacy Badger (tracking blocker) - Perspectives (distributed certificate checks and better error handling) - HTTPS Everywhere (default to https on sites and avoid plain http) - Self-Destructing Cookies (self-destruct cookies for a tab after closing it) - Tab Mix Plus (better tab management) - Session Manager (better session management between restarts) - Tree Style Tab (hierarchical tab list management) - TooManyTabs (almost self-explanatory) - Lazarus (save form data to restore or reuse) - Link Alert (so I know if a link is a file or an internal site link or external site link or a popup and can then decide if I want to click it) - FoxyProxy (switch proxies easily) - Foxclocks (handy clocks in different times zones) - DownThemAll (easier downloads of multiple items, which I need occasionally) - and many more Although I experience slow starts and long shutdowns, in general, and in comparison, the browser is not RAM hungry compared to opening just a couple of tabs on Internet Explorer/Edge or about ten tabs or so in Chrome (with fewer extensions than above in Chrome). On OS X/macOS though, Firefox seems more RAM hungry, is a bit more sluggish and consumes more energy than Safari. Shutting down the browser and opening it again will also help since Firefox by default does not load tabs until they get the focus (this "load tabs on demand" behavior has been around for quite sometime). It will load some stuff from the cache though. One more thing you can try is create a new profile (take care to get bookmarks from the old one) and see if that avoids any problems with extensions or other cruft in the older profile.
- mirsadm 10y agoFirefox is pretty sluggish for me on my MBP. It sits around 20% CPU usage idling on certain web sites. Playing back videos makes the fans spin up. It's just terribly slow.
- rangibaby 10y agoPeople use Chrome because Google (Alphabet?) advertises it heavily including a nag screen on google.com. Also Firefox goes through noticeable cycles of being awesome and being a buggy slow mess. Chrome came out when Firefox was in a noticeable slump. Remember that in ?2008 being better than IE was the yardstick browsers were measured by and Firefox had passed that many years earlier, so I think they had lost their way a little bit. I remember Firefox 4 was noticeably bad on OSX and it took a long time to fix. PS I use a browser salad daily (Safari and two channels of Firefox so I can have two instances open at once, and Chrome for Facebook / flash / testing).
- roddux 10y agoTo save on having to have two versions of Firefox, you can start a new instance with: $ firefox --no-remote --new-instance --profile /path/to/alt/profile
- kahnpro 10y agoI don't know what Firefox you're using but I always find it very slow and sluggish compared to Chrome. Especially Google maps and YouTube. I always have to switch over to Chrome to use these sites because they always bring FF to its knees. I wonder if this is deliberate on the part of Google.
- Certhas 10y agoOn a 4 year old MacBook Air running Firefox, google maps takes a second or so to open fully, after browsing around in two google maps windows for a while my memory usage is stable at 1.25GB.
- annnnd 10y agoFF on Linux. Don't use maps, but YouTube works as it should (but then again, I only allow youtube.com, ytimg.com and googlevideo.com via NoScript). It might be deliberate, at least in sense that MS pages never worked properly on Netscape / Firefox / Konqueror /... in the days of IE dominance.
- dzhiurgis 10y ago> Why do people use Chrome, again? Oh you are like my mother. I do appreciate Firefox respect for standards, but their UI hasn't innovated since 90s. Two months ago it took me 20 minutes on my moms Windows laptop to find current version of Firefox! It lacks unified search bar, tab expose, even some basic hotkeys are backwards. I can't believe it uses so little resources though. It's not uncommon to see a single tab use 400 MB of memory on Chrome/Safari.
- pokemongoaway 10y agoI have some similar usage patterns... I really hope this is true because I think you just inspired me to switch from Chrome to Firefox! Chrome can't handle 100 (w/ a bunch of apps like Gmail) on a fully loaded Macbook very well. The only other thing I'd use is a few Chrome apps like Keep and Signal.
- slededit 10y agoTo be fair a 32-bit process couldn't use more than 2GB even if it wanted to. /LARGEADRESSAWARE would give it access to an extra gig but needs to be compiled that way.