On my test computer at least, today's snap revision 1373 seems to have
solved it.

Running `snap run --trace-exec chromium` on a cold boot I get

Slowest 10 exec calls during snap run:
  0.237s snap-update-ns
  0.400s /usr/lib/snapd/snap-confine
  0.087s /snap/chromium/1373/snap/command-chain/snapcraft-runner
  0.590s /snap/chromium/1373/bin/desktop-launch
  0.065s /usr/bin/snapctl
  0.114s /snap/chromium/1373/bin/chromium.launcher
  0.159s /usr/bin/dbus-send
  0.286s /usr/bin/xdg-settings
  3.609s /proc/self/exe
  5.238s /snap/chromium/1373/usr/lib/chromium-browser/chrome
Total time: 6.515s

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1900783

Title:
  [snap] On Groovy, Chromium snap takes much longer to load the first
  time after reboot

Status in chromium-browser package in Ubuntu:
  Confirmed

Bug description:
  I upgraded from Focal to Groovy, and now the first launch of the
  Chromium snap after a reboot is taking much longer than before. On my
  main home laptop it takes over 30 seconds, while under Focal I don't
  remember it taking more than 10 seconds.

  I tried another computer I could erase. On Groovy that computer takes
  nearly a minute to launch the Chromium snap after rebooting. Then I
  clean installed Focal on the same machine, and the Chromium snap takes
  just under 10 seconds to launch after a reboot. For both I installed
  all updates, and I let the computer sit idle for a few minutes after
  rebooting to try to rule out other activity.

  I haven’t noticed the change for any other snap, although I don’t use
  any that I ever noticed as much of a launch delay as Chromium. (VS
  Code for one doesn’t seem slower — certainly not taking nearly a
  minute — but I haven't done a real comparison like for Chromium.)

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
  Uname: Linux 5.8.0-25-generic x86_64
  ApportVersion: 2.20.11-0ubuntu50
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Oct 20 21:29:20 2020
  InstallationDate: Installed on 2020-04-01 (202 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200331)
  Snap: chromium 87.0.4280.20 (latest/beta)
  SnapSource: ubuntu/+source/chromium-browser
  UpgradeStatus: Upgraded to groovy on 2020-10-17 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1900783/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to