• Blake [he/him]@feddit.uk
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    Once it’s slower, hit F12 -> memory -> snapshot

    Should be pretty easy to check out which extension has shitloads of storage. Then you can decide how to go from there - maybe contact the author?

    • MudMan@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Memory leak may have been a misdiagnosis. The issue is clearly with Youtube, which is what most extensions I use are about, there is nothing obvious in the memory snapshot (not that it’d be easy to see, because video is a resource hog anyway) and the profiler seems to label the stutter with the very useful label of “jank”, so…

      Someone more familiar with web dev than I am may be able to take the profiler logs and debug this, but a) that’s not me, and b) not my job.

      • Blake [he/him]@feddit.uk
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Jank means that the renderer was delayed due to a resource conflict - usually because there’s something on the main thread that’s taking too long. Basically your issue is probably a CPU (or GPU) one, not a RAM one - It’s hard to help you out without knowing more about your environment, so all I can really give you is vague advice: if you’re using an adblocker other than uBlock Origin, switch to uBlock Origin, it has much better performance. Check the plugins and extensions and make sure there isn’t something you don’t recognise, if your computer was compromised at some point, cryptominer plugins can really tank performance.

        • MudMan@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Figured that much. I’m not a web developer, but I can read a profiler, and the CPU usage spikes before those gaps are a pretty good sign that this isn’t a memory leak. I use uBlock Origin, by the way, but there’s likely some weird interaction between it, other Youtube extensions and Youtube’s own attempts to nuke adblockers from orbit. And no, it’s not a cryptominer as far as I can tell. This looks like either a bug or an unintended behavior of the very popular, very sanctioned plugins running on Firefox (or Firefox itself).

          Which is why, as I said, I have settled for periodic reboots. Convenience wins over principle often, but I happen to be stubborn.

          Gotta say, though, I appreciate the attempts at troubleshooting, but the OSS and privacy communities in general have a tendency to respond to comments on poor performance, compatibility or UX with tech support, and I think it’s kinda missing the point.

          • Blake [he/him]@feddit.uk
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            The unfortunate thing is, most people aren’t having these kinds of performance issues. If a bug can’t be reproduced, it can’t be fixed. That makes these kinds of things pretty much impossible to fix until someone who is having the problem has the time/energy to dig into it, and the technical expertise to know what information and data to provide for a good bug report (which, honestly, is very rare), and then make themselves available for all of the inevitable follow-up questions and troubleshooting steps.

            OSS devs are volunteers 99.9% of the time and they work on whatever they want to work on. A well written bug report with lots of context, a full memory snapshot, clear reproduction steps, expected/actual behaviour, full information on how to set up the environment from a fresh install, and so on, has a really good chance of being picked up by a developer. But if it’s even a little bit harder to just get to work on it, it’ll probably be ignored, because there are a hundred other more interesting issues to work on.

            People can only help as much as they’re able to, we can’t fix your issue unless we know what it is, and usually the best place to start is by trying to make sure the surrounding environment is sane. If we went off assuming there was a Firefox bug and spent hours looking at a memory dump only to discover that your computer is a 2003 Intel Celeron or something, it would be a bit frustrating.

            And yeah, most people just do not have the technical expertise to write a good bug report for a web browser - most devs are web developers or do business logic stuff - so it’s a tough nut to crack, and there’s not a huge number of people volunteering to help out open source software teams doing the soft skills stuff to coax useful information out of people who report issues :)

            Hope that makes sense! OSS is very much a “be the change you want to see in the world” kind of place!

            • MudMan@kbin.social
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Well, yeah, which would make perfect sense if a) Firefox was made by volunteers instead of whatever weird blend of non-profit and for-profit companies are running Mozilla these days, and b) if I was filing a bug report instead of casually mentioning that Firefox can be buggy sometimes in social media.

              If I was filing a bug report I’d be attaching… you know, logs. And repro steps. As you do in a bug report. I don’t even know if Firefox has a bug submission process for the public. I assume they don’t. Most of those are worthless anyway.

              Look, besides the notion that the whole discussion is rather pointless, the idea I was trying to impress earlier is that the end user doesn’t care or need to care about the challenges of OSS development. Being free and open source may be a practical selling point, a moral selling point or not a selling point at all, but ultimately when you use a thing you just kinda need it to work first. When you complain, or even just mention, an issue with some piece of OSS in places like this you just tend to get a bunch of IT and workarounds back.

              Which is fine, I get it, it’s people trying to be nice, but… you know, it doesn’t make a great case for the ecosystem. Me saying “eeeh, FF can be a bit flaky sometimes you may want to reboot it every now and then” is an anecdote. Me saying that and going down a rabbit hole of profiling and memory snapshots in the futile attempt to fix some arcane interaction between Youtube and a bunch of add-on software Youtube doesn’t want me to run is rightfully enough to put off the average person. All I’m saying is not every person mentioning a thing they noticed in a piece of OSS needs a howto doc and a list of highly technical homework as a response.

              • Blake [he/him]@feddit.uk
                link
                fedilink
                arrow-up
                1
                ·
                1 year ago

                I guess I don’t really understand - can you help me understand your viewpoint? What do you think a good response would be? Just like, “oh yeah, that sucks dude?” Sorry if I made it feel like I was expecting you to do technical tasks, it was just an offer of help to get it fixed, but obviously if you’d rather not do that, you’re not compelled! Just trying to help really. I don’t know what the better response would be - I’m autistic so sometimes I miss social cues so sorry if that’s the case!

                • MudMan@kbin.social
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year ago

                  The point was a simple observation that the OSS community tends to confuse feedback for requests of technical support.

                  It’s not you in particular and it’s not mean spirited or wrong to do. It is, however, a relevant note on why some OSS struggles with reach.

                  My go-to example of this is that nobody cares that Blender is open source, but people tend to flag it for GIMP. Because Blender “just works” and has comparable UX and features to paid alternatives. I know what’s on GIMP or Krita and my comment isn’t a call for help, just an observation.

                  In this case… well, yeah, it sucks that Firefox has a long-standing performance bug. If it gets fixed in the future it’ll be fine. If it doesn’t I’ll survive, but it may put off some people from joining if the effective experience is less responsive than Chrome’s despite what benchmarks may say.

                  • Blake [he/him]@feddit.uk
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    1 year ago

                    Thanks for the extra information, but I still think I’m missing something - what’s the reason behind providing feedback if you don’t want them to do anything about the feedback? Like, you’re just making conversation about it, like sharing funny bugs you had in Skyrim?

                    I guess there’s a difference between talking about bugs and UX, because if you said that you prefer Photoshop to GIMP because you think Photoshop’s UX is better, I totally understand that, and “tech support” isn’t really appropriate, but isn’t that different for people who are talking about their specific performance issues? Like, how would you want people to respond to that?

                    it may put off some people from joining if the effective experience is less responsive than Chrome

                    Isn’t that a reason for people to be more helpful in helping others resolve their performance issues and to raise bug reports as appropriate? I really feel like you’re trying to have your cake and eat it too, here - it feels like you want Firefox to fix performance issues, but you feel like the issues should be fixed without actually giving devs the information they need to fix them. That’s just not going to happen for any app/software, OSS or not

      • aDogCalledSpot@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        I’m actually having similar issues. Seemingly at random, my PC will freeze up due to lack of memory and killing Firefox fixes it. Im also sure it must be an extension causing it.

        Here are my extensions, let me know which of these you are using and maybe we can narrow it down from that:

        • Neat URL
        • uBlock Origin
        • Return YouTube Dislikes
        • Firefox Multi-Account Containers
        • SponsorBlock
        • Vimium
        • Decentraleyes
        • Enhancer for YouTube
        • Privacy Possum
        • I don’t care about cookies
        • First Party Isolation
        • Startpage Privacy Protection
        • MudMan@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          FWIW, the only ones we share on that list are uBlock, Dislikes and Enhancer.

          Again, best guess is Youtube is desperately trying to poop out some ads and getting reinvented within an inch of its life by those extensions (not to mention dragged kicking and screaming into having pop-up playback windows) and something breaks in there somewhere. I’m not holding my breath for a fix anytime soon.