publicado de forma cruzada desde: https://lemmy.ml/post/78544

It’s probably well known at this point, but it doesn’t hurt to spread the word further. Disabling accessibility services in Firefox (both on desktop and mobile, but specially on mobile) helps A LOT with performance and RAM usage.

Just set accessibility.force_disabled to 1 in about:config and enjoy the up to 20% less RAM usage and 5% less CPU usage (at least in my not so detailed testing on my laptop).

In my case my system went from 7.9GB to 5.2GB with the same tabs and windows open and from 25% to 20% CPU usage while having one of those tabs playing a livestream.

Quoting one of the comments in the Reddit thread I found this out to why this isn’t disabled by default:

Accessibility does not start by default, but it starts lazily if another piece of software on your device starts requesting accessibility features from Firefox.

Unfortunately a lot of third-party software likes to do this even though they have nothing to do with assistive technologies.

You can also vote on this bug in Bugzilla to help it get solved faster.

  • loki
    link
    fedilink
    arrow-up
    6
    ·
    3 years ago

    this takes me back to when there were many preferences you could disable to speed up firefox. like animation, initial paint delay, http network pipeline, and such.

    I wonder if there’s an updated list?

  • IngrownMink4OP
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    3 years ago

    PSA: I have cross-posted it in this community in case any of you stopped using Firefox because of its high RAM usage or poor performance. Maybe this solves your Firefox problem and maybe you will be able to use it again :)

  • mekhos
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    Cool! Any idea if this would affect Firefox on mobile and more specifically Fenix browser?

    • IngrownMink4OP
      link
      fedilink
      arrow-up
      10
      ·
      3 years ago

      This also affects Firefox for Android (Fenix). To enable it, you must go to about:config and change the value of accessibility.force_disabled from 0 (default value) to 1.

      Note that this can only be modified in the beta and nightly branches, and as an exception, in Fennec F-Droid as well (it is a fork of the stable branch but with modifications).

    • iDesmi
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Doesn’t hurt to set the flag anyway, if you’ll never need any current or future accessibility-related feature.