Live data from Hacker News

Why are browsers so slow?

ilyabirman.net

211–220 of 376 posts

Re: Why are browsers so slow?

#212
post #186

Earlier quoted context omitted.

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…

10 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.

I 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.)

Re: Why are browsers so slow?

#213

> But I remember the times when we had the amazing Opera browser. In Opera, I could have a hundred open tabs, and it didn’t care, it worked incredibly fast on the hardware of its era, useless today. You may ask: why would a sane person want a hundred open tabs, how would you even manage that? Well, Opera has had a great UI for that, which nobody has ever matched. Working with a hundred tabs in Opera was much easier b…

I'd love to know how. My Firefox, with 4 tabs open, will use up a gig of memory.

Re: Why are browsers so slow?

#214

Earlier quoted context omitted.

> This is exactly how I'm using Firefox, right now -- 273 tabs open. It's sitting at ~5% of CPU and 450MB of RAM. And switching tabs is instantaneous. Which platform are you on? Which Firefox version? Stock or tweaked? Any special add-ons? I use Firefox on OS X and it crawls after 10-15 tabs. Consumes many gigs of memory. Chrome isn't any better. It just splits the memory consumption among multiple processes. I don't…

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…

Nearly 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.

Re: Why are browsers so slow?

#215

> But I remember the times when we had the amazing Opera browser. In Opera, I could have a hundred open tabs, and it didn’t care, it worked incredibly fast on the hardware of its era, useless today. You may ask: why would a sane person want a hundred open tabs, how would you even manage that? Well, Opera has had a great UI for that, which nobody has ever matched. Working with a hundred tabs in Opera was much easier b…

How is this possible? I'm sitting here with an i5-4690, 32GB RAM, Firefox 50 with about 50 tabs open 1.5GB RAM usage, about half a second to get a usable new tab, and it crashes at least once every few days.

Literally the only reason I'm on Firefox is tab groups, but my performace is basically identical with tab groups disabled.

Re: Why are browsers so slow?

#216
My Firefox instance has recently picked up the nasty habit of every time I move to a different tab, the web area is white save for a spinning grey loading icon in the center for a good half second. I've never seen anything like this before recently and it's a real bummer on speed

Re: Why are browsers so slow?

#217
Unimaginative, non-technical rant. Please find the bottlenecks, and provide a technical solution. The code is open source for you to read, and your patch will be constructive and helpful. Your idealist blog-post, not really that helpful.

Re: Why are browsers so slow?

#218
post #216

My Firefox instance has recently picked up the nasty habit of every time I move to a different tab, the web area is white save for a spinning grey loading icon in the center for a good half second. I've never seen anything like this before recently and it's a real bummer on speed

It's an e10s (multiprocess) thing. Shame that you don't percieve the overall performance as improved, since that's something that e10s promises. But I know that the tab spinner stuff is something they're working on actively, hopefully it'll improve with time.

Re: Why are browsers so slow?

#219
All of these anecdotal benchmarks people are doing are silly because you're overlooking so much detail:

* SSD or slow spinning disk (makes a massive difference if your computer is swapping out tabs to cache).

* Have the tabs been loaded or not (a new browser session will open placeholders for the tabs without loading the site, but an older session will likely have dozens -if not more- of those sites loaded)

* Frontend code. Are we talking low footprint sites like HN or dozens of JS and CSS heavy sites like Facebook, Office 365, etc)

* Similarly to the above, media content. Streaming videos? Flash? etc.

I bet you a 100 active tabs of MS Excel Online would perform crap in any set up while 100 inactive HN tabs would stand a better chance of not crippling your whole system.

Re: Why are browsers so slow?

#220

Earlier quoted context omitted.

> This is exactly how I'm using Firefox, right now -- 273 tabs open. It's sitting at ~5% of CPU and 450MB of RAM. And switching tabs is instantaneous. Which platform are you on? Which Firefox version? Stock or tweaked? Any special add-ons? I use Firefox on OS X and it crawls after 10-15 tabs. Consumes many gigs of memory. Chrome isn't any better. It just splits the memory consumption among multiple processes. I don't…

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…

>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.

Post reply on HN