News for hackers. Stuff that matters.
Re:Why are browsers so slow? by com2kid on Wednesday December 21, 2016 @04:23AM (#13227830)
> 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.

Re:Why are browsers so slow? by philbo on Wednesday December 21, 2016 @07:16AM (#13228508)
> That said, I also have LastPass installed...

That's your problem, right there.

I've been told that the main version of LastPass currently available from addons.mozilla.org has known problems that cause the browser to lock up and hang indefinitely.

Instead, if you click through to list all releases and select the latest 4.x version, those problems should all be fixed:

https://addons.mozilla.org/en-US/firefox/addon/lastpass-pass...

Re:Why are browsers so slow? by joosters on Wednesday December 21, 2016 @08:30AM (#13228889)
That's odd - it turned out I had version 3.3.2 installed, I wonder why the auto-upgrade didn't happen? Are the 4.x versions beta releases?
Re:Why are browsers so slow? by yoklov on Wednesday December 21, 2016 @09:00AM (#13229106)
Yes, IIRC. They're still imperfect and can lag the browser quite a bit IME, but what can you do... Switching to a different password manager is not easy, and the ones I've looked at all have this/other problems.
Re:Why are browsers so slow? by newdayrising on Wednesday December 21, 2016 @06:15PM (#13233497)
SafeInCloud. That's what one can do.
Re:Why are browsers so slow? by moon_priestess on Thursday December 22, 2016 @08:32AM (#13237132)
I think those of us using LastPass stick with it because no one better supports Linux. It looks like SafeInCloud is yet another option with no Linux support.
Re:Why are browsers so slow? by timonovici on Wednesday December 21, 2016 @04:36AM (#13227880)
My 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.

Re:Why are browsers so slow? by kutkloon7 on Wednesday December 21, 2016 @06:08AM (#13228248)
How can a site leak memory? Javascripts is garbage-collected.
Re:Why are browsers so slow? by bzbarsky on Wednesday December 21, 2016 @06:17AM (#13228283)
Easy: 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.