Firefox is very slow (30 sec) to start

Bug #1878666 reported by Tommaso
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Firefox snap is very slow, when i start it

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.36.1-5ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu May 14 19:53:08 2020
DisplayManager: gdm3
InstallationDate: Installed on 2020-04-25 (18 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Tommaso (tommaso-trombetta) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Do you mean it is very slow to start, or very slow after starting?

affects: gnome-shell (Ubuntu) → firefox (Ubuntu)
tags: added: performance
Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
Tommaso (tommaso-trombetta) wrote :

Yes, Firefox (76.0.1 64 bit, snap) startup is very slow (30sec).
After starting it, i navigate normally.

PC features:
-processor: Pentium(R) Dual-Core CPU T4300 @ 2.10GHz × 2
-memory: 4gb memory

Thank you,
Tom

summary: - Firefox snap is very slow, when i start it
+ Firefox snap is very slow (30 sec) to start
Changed in firefox (Ubuntu):
status: Incomplete → New
importance: Undecided → Medium
Olivier Tilloy (osomon)
tags: added: snap
Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Firefox snap is very slow (30 sec) to start

Could you please run the firefox snap from a terminal using the following command, and after it shows the window, close it and attach the corresponding output:

    snap run --trace-exec firefox

Thanks!

Revision history for this message
Tommaso (tommaso-trombetta) wrote : Re: [Bug 1878666] Re: Firefox snap is very slow (30 sec) to start

Hi,

when i run the command, i get the following error:

~$: snap run --trace-exec firefox
error: cannot find current revision for snap firefox: readlink
/snap/firefox/current: no such file or directory

and fifefox doesn't start.

Sorry,
Tom

Il giorno lun 18 mag 2020 alle ore 19:05 Olivier Tilloy <
<email address hidden>> ha scritto:

> Could you please run the firefox snap from a terminal using the
> following command, and after it shows the window, close it and attach
> the corresponding output:
>
> snap run --trace-exec firefox
>
> Thanks!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1878666
>
> Title:
> Firefox snap is very slow (30 sec) to start
>
> Status in firefox package in Ubuntu:
> New
>
> Bug description:
> Firefox snap is very slow, when i start it
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.1-5ubuntu2
> ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
> Uname: Linux 5.4.0-29-generic x86_64
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: ubuntu:GNOME
> Date: Thu May 14 19:53:08 2020
> DisplayManager: gdm3
> InstallationDate: Installed on 2020-04-25 (18 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=it_IT.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
> SourcePackage: gnome-shell
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1878666/+subscriptions
>

--
Tommaso Trombetta

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Firefox snap is very slow (30 sec) to start

That's puzzling. And if you run "snap run firefox", the browser starts?

Revision history for this message
Tommaso (tommaso-trombetta) wrote : Re: [Bug 1878666] Re: Firefox snap is very slow (30 sec) to start

No, always the same mistake:

tommi@tommi-pc:~$ snap run firefox
error: cannot find current revision for snap firefox: readlink
/snap/firefox/current: no such file or directory

I'm sorry,
Tom

Il giorno lun 18 mag 2020 alle ore 23:20 Olivier Tilloy <
<email address hidden>> ha scritto:

> That's puzzling. And if you run "snap run firefox", the browser starts?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1878666
>
> Title:
> Firefox snap is very slow (30 sec) to start
>
> Status in firefox package in Ubuntu:
> New
>
> Bug description:
> Firefox snap is very slow, when i start it
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.1-5ubuntu2
> ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
> Uname: Linux 5.4.0-29-generic x86_64
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: ubuntu:GNOME
> Date: Thu May 14 19:53:08 2020
> DisplayManager: gdm3
> InstallationDate: Installed on 2020-04-25 (18 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=it_IT.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
> SourcePackage: gnome-shell
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1878666/+subscriptions
>

--
Tommaso Trombetta

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Firefox snap is very slow (30 sec) to start

So that's a different problem to the original one… Can you share the output of "snap info --abs-time firefox" ?

Revision history for this message
Tommaso (tommaso-trombetta) wrote : Re: [Bug 1878666] Re: Firefox snap is very slow (30 sec) to start
Download full text (3.8 KiB)

name: firefox
summary: Mozilla Firefox web browser
publisher: Mozilla✓
store-url: https://snapcraft.io/firefox
license: MPL-2.0
description: |
  **The new Firefox**

  Meet Firefox Quantum. Fast for good.

  Features:

  * A powerful, new engine that’s built for rapidfire performance.
  * Better, faster page loading that uses less computer memory.
  * Gorgeous design and smart features for intelligent browsing.

  **Now 2x faster**

  Crazy powerful browser engine? Check. Less time waiting around for pages
to
  load? Also, check. Firefox Quantum is twice as fast as Firefox was before.

  **Smooth browsing**

  Whether you’ve opened 10 or 1000, switching between tabs is faster than
  ever with Firefox’s new, responsive engine.

  **Seriously Private Browsing**

  The most powerful private browsing mode with added tracking protection.

  * Private Browsing
      * Firefox blocks online trackers while you browse and won’t remember
      your history after you’re done.

  * Tracking Protection

      * Some ads have hidden trackers that follow you online. Rude. We know.
      That’s why our powerful tool stops them cold.

  * Faster Page Loading

      * By blocking some ads and scripts that bog down browsing, pages load
      up to 44% faster. Now that’s a win-win.

  **Customization Features**

  * Extensions

  * Customize Firefox with thousands of extensions like LastPass, uBlock
  Origin, Evernote and more.

  * Themes

      * Make over Firefox to suit your mood! Choose a new look from our
theme
      categories or create your own.

  **Sync your devices**

  * Seamlessly access passwords, bookmarks and more. Plus, use our Send Tabs
  feature to instantly share open tabs between desktop, mobile and tablet.

  **Browse for good**

  Firefox is made by Mozilla, the non-profit champions of a healthy
internet.
  Mozilla also tackles issues like privacy, misinformation and trolling by
  investing in fellowships, campaigns and new technologies designed to make
  the internet healthier.
snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
channels:
  latest/stable: 76.0.1-1 2020-05-11T19:51:21Z (359) 146MB -
  latest/candidate: 76.0.1-1 2020-05-08T03:36:20Z (359) 146MB -
  latest/beta: 77.0b7-1 2020-05-18T03:46:54Z (364) 149MB -
  latest/edge: ↑
  esr/stable: 68.8.0esr-2 2020-05-04T13:21:02Z (356) 221MB -
  esr/candidate: ↑
  esr/beta: ↑
  esr/edge: ↑

Il giorno mar 19 mag 2020 alle ore 14:50 Olivier Tilloy <
<email address hidden>> ha scritto:

> So that's a different problem to the original one… Can you share the
> output of "snap info --abs-time firefox" ?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1878666
>
> Title:
> Firefox snap is very slow (30 sec) to start
>
> Status in firefox package in Ubuntu:
> New
>
> Bug description:
> Firefox snap is very slow, when i start it
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.1-5ubuntu2
> ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
> Uname: Linux 5.4.0-29-generic x86_64
> ApportVersion: 2.20.11-0ubuntu27
> ...

Read more...

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Firefox snap is very slow (30 sec) to start

It appears the firefox snap is not installed on your system. Did you uninstall it since you reported the bug?

Revision history for this message
Tommaso (tommaso-trombetta) wrote : Re: [Bug 1878666] Re: Firefox snap is very slow (30 sec) to start

sorry, but I was convinced that the version of firefox preinstalled on
ubuntu was SNAP!

Tom

Il giorno mar 19 mag 2020 alle ore 16:55 Olivier Tilloy <
<email address hidden>> ha scritto:

> It appears the firefox snap is not installed on your system. Did you
> uninstall it since you reported the bug?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1878666
>
> Title:
> Firefox snap is very slow (30 sec) to start
>
> Status in firefox package in Ubuntu:
> New
>
> Bug description:
> Firefox snap is very slow, when i start it
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.1-5ubuntu2
> ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
> Uname: Linux 5.4.0-29-generic x86_64
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: ubuntu:GNOME
> Date: Thu May 14 19:53:08 2020
> DisplayManager: gdm3
> InstallationDate: Installed on 2020-04-25 (18 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=it_IT.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
> SourcePackage: gnome-shell
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1878666/+subscriptions
>

--
Tommaso Trombetta

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Firefox snap is very slow (30 sec) to start

No, it's not. So what you're saying in that the regular firefox package is very slow to start on your system. I'm updating the bug title to reflect that.

summary: - Firefox snap is very slow (30 sec) to start
+ Firefox is very slow (30 sec) to start
tags: removed: snap
Revision history for this message
Olivier Tilloy (osomon) wrote :

Is startup equally slow if you start firefox in safe mode ("firefox -safe-mode") ?

Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
Tommaso (tommaso-trombetta) wrote : Re: [Bug 1878666] Re: Firefox is very slow (30 sec) to start

yes, it starts in 26sec

Il giorno mar 19 mag 2020 alle ore 18:00 Olivier Tilloy <
<email address hidden>> ha scritto:

> Is startup equally slow if you start firefox in safe mode ("firefox
> -safe-mode") ?
>
> ** Changed in: firefox (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1878666
>
> Title:
> Firefox is very slow (30 sec) to start
>
> Status in firefox package in Ubuntu:
> Incomplete
>
> Bug description:
> Firefox snap is very slow, when i start it
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.1-5ubuntu2
> ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
> Uname: Linux 5.4.0-29-generic x86_64
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: ubuntu:GNOME
> Date: Thu May 14 19:53:08 2020
> DisplayManager: gdm3
> InstallationDate: Installed on 2020-04-25 (18 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=it_IT.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
> SourcePackage: gnome-shell
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1878666/+subscriptions
>

Changed in firefox (Ubuntu):
status: Incomplete → New
Revision history for this message
Olivier Tilloy (osomon) wrote :

Could you please check whether starting firefox with a new profile takes equally long? Run:

    firefox -safe-mode -p

And create a new profile from there. Thanks!

Revision history for this message
Tommaso (tommaso-trombetta) wrote :

Yes, i created a new profile 'test', and it started in 30 sec.

Il giorno mer 20 mag 2020 alle ore 14:30 Olivier Tilloy <
<email address hidden>> ha scritto:

> Could you please check whether starting firefox with a new profile takes
> equally long? Run:
>
> firefox -safe-mode -p
>
> And create a new profile from there. Thanks!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1878666
>
> Title:
> Firefox is very slow (30 sec) to start
>
> Status in firefox package in Ubuntu:
> New
>
> Bug description:
> Firefox snap is very slow, when i start it
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.1-5ubuntu2
> ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
> Uname: Linux 5.4.0-29-generic x86_64
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: ubuntu:GNOME
> Date: Thu May 14 19:53:08 2020
> DisplayManager: gdm3
> InstallationDate: Installed on 2020-04-25 (18 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=it_IT.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
> SourcePackage: gnome-shell
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1878666/+subscriptions
>

--
Tommaso Trombetta

Revision history for this message
Olivier Tilloy (osomon) wrote :

firefox was updated to 77.0.1 since the bug was initially reported. Does the problem persist?

Revision history for this message
Tommaso (tommaso-trombetta) wrote :

Hi,

with Firefox 77.0.1 (64 bit), for Ubuntu Canonical 1.0, now 6 sec less to
start.
Thank you so much.

Tommaso

Il giorno gio 11 giu 2020 alle ore 15:31 Olivier Tilloy <
<email address hidden>> ha scritto:

> firefox was updated to 77.0.1 since the bug was initially reported. Does
> the problem persist?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1878666
>
> Title:
> Firefox is very slow (30 sec) to start
>
> Status in firefox package in Ubuntu:
> New
>
> Bug description:
> Firefox snap is very slow, when i start it
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.1-5ubuntu2
> ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
> Uname: Linux 5.4.0-29-generic x86_64
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: ubuntu:GNOME
> Date: Thu May 14 19:53:08 2020
> DisplayManager: gdm3
> InstallationDate: Installed on 2020-04-25 (18 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=it_IT.UTF-8
> SHELL=/bin/bash
> RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
> SourcePackage: gnome-shell
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1878666/+subscriptions
>

--
Tommaso Trombetta

Changed in firefox (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.