Ubuntu developers have started solving problems with slow launch of Firefox SNAP package

Canonical added to Snapd.

  • A lot of time was spent on copying additions into the user catalog built into the package. 98 language packages were built into the SNAP package, which were all copied, regardless of the selected language.
  • delays also arose due to the determination of all available fonts, those icons and font configurations.
  • When starting Firefox from SNAP, separate problems with performance during operation were also observed, but Ubuntu developers have already prepared corrections that improve performance. For example, starting with Firefox 100.0 during assembly, optimization at the binding stage (LTO) and based on the results of code profiling (PGO) are included. To solve messages with messages between Firefox and external subsystems, a new XDG Desktop Portal has been prepared, the support of which is at the stage for inclusion in Firefox.

    As the reasons for the promotion of the SNAP format for browsers, there is a desire to simplify support and unify the development for different versions of Ubuntu – the Deb package requires separate support for all supported Ubuntu branches and, accordingly, assembly and testing, taking into account different versions of the system components, and the SNAP package It can be formed immediately for all Ubuntu branches. Moreover, the employees of Mozilla, i.e. It is formed from first -hand without intermediaries. Snap delivery also allowed to accelerate the bringing new versions of the browser to Ubuntu users and made it possible to run Firefox in an isolated environment created using the Apparmor mechanism to protect the rest of the system from exploiting vulnerabilities in the browser.

    /Media reports.