Here's after a reboot, again with a clean profile that's been opened one
time, stable channel on up-to-date Groovy:

ab@mb:~$ etrace exec /snap/bin/chromium
2020/10/23 10:27:06 xdotool.go:84:
Gtk-Message: 10:27:14.094: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:27:14.116: Failed to load module "canberra-gtk-module"
[11797:11797:1023/102734.021699:ERROR:sandbox_linux.cc(374)] 
InitializeSandbox() called with multiple threads in process gpu-process.
61 exec calls during snap run:
     Start     Stop      Elapsed        Exec
     0         472100    472.100019ms   /snap/bin/chromium
     27013     37971     10.958909ms    /usr/lib/snapd/snap-seccomp
     103312    105487    2.174139ms     /usr/lib/snapd/snap-device-helper
     105838    107959    2.121925ms     /usr/lib/snapd/snap-device-helper
     108319    110501    2.181053ms     /usr/lib/snapd/snap-device-helper
     110850    113080    2.230882ms     /usr/lib/snapd/snap-device-helper
     113421    115489    2.067089ms     /usr/lib/snapd/snap-device-helper
     115772    118021    2.249002ms     /usr/lib/snapd/snap-device-helper
     118335    120568    2.233028ms     /usr/lib/snapd/snap-device-helper
     120867    125847    4.980087ms     /usr/lib/snapd/snap-device-helper
     126198    128540    2.342939ms     /usr/lib/snapd/snap-device-helper
     128860    131577    2.716064ms     /usr/lib/snapd/snap-device-helper
     131940    134634    2.694845ms     /usr/lib/snapd/snap-device-helper
     134973    137454    2.481937ms     /usr/lib/snapd/snap-device-helper
     137806    140505    2.698183ms     /usr/lib/snapd/snap-device-helper
     140962    143770    2.808809ms     /usr/lib/snapd/snap-device-helper
     144108    146301    2.193927ms     /usr/lib/snapd/snap-device-helper
     146591    148778    2.187013ms     /usr/lib/snapd/snap-device-helper
     149217    151494    2.276897ms     /usr/lib/snapd/snap-device-helper
     151847    154367    2.520799ms     /usr/lib/snapd/snap-device-helper
     155422    157877    2.454996ms     /usr/lib/snapd/snap-device-helper
     165157    167555    2.398014ms     /usr/lib/snapd/snap-device-helper
     168947    171360    2.413034ms     /usr/lib/snapd/snap-device-helper
     172826    175012    2.186059ms     /usr/lib/snapd/snap-device-helper
     176098    178416    2.318859ms     /usr/lib/snapd/snap-device-helper
     179435    182003    2.568006ms     /usr/lib/snapd/snap-device-helper
     183077    185662    2.584934ms     /usr/lib/snapd/snap-device-helper
     209460    445437    235.977888ms   snap-update-ns
     458566    468766    10.200023ms    snap-update-ns
     472100    573029    100.929975ms   /usr/lib/snapd/snap-exec
     573029    582269    9.239912ms     
/snap/chromium/1362/command-chromium.wrapper
     582269    1204112   621.842145ms   /snap/chromium/1362/bin/desktop-launch
     667310    679414    12.10308ms     /bin/date
     771656    780951    9.294986ms     /usr/bin/md5sum
     784470    793044    8.574008ms     /bin/cat
     795722    803555    7.83205ms      /usr/bin/md5sum
     805881    811655    5.774974ms     /bin/cat
     813513    832447    18.934011ms    /bin/grep
     839522    868767    29.245853ms    /bin/mkdir
     898451    953804    55.353879ms    /usr/bin/head
     956835    973381    16.54601ms     /usr/bin/head
     976434    993457    17.022132ms    /usr/bin/head
     996059    1011866   15.806198ms    /usr/bin/head
     1014738   1030759   16.021013ms    /usr/bin/head
     1033776   1050442   16.666889ms    /usr/bin/head
     1053074   1068875   15.800952ms    /usr/bin/head
     1071585   1088642   17.056226ms    /usr/bin/head
     1091500   1107697   16.196966ms    /usr/bin/head
     1115821   1135473   19.652843ms    /bin/mkdir
     1141314   1162826   21.512031ms    /bin/ln
     1166500   1186408   19.907951ms    /bin/rm
     1187048   1201411   14.36305ms     /bin/ln
     1204112   1326992   122.879981ms   
/snap/chromium/1362/bin/chromium.launcher
     1213257   1251816   38.558959ms    /usr/bin/cut
     1214077   1236867   22.789955ms    /usr/bin/id
     1236932   1251408   14.475107ms    /usr/bin/getent
     1255490   1326690   71.200847ms    /usr/bin/snapctl
     1326992   54340631  53.013638973s  
/snap/chromium/1362/usr/lib/chromium-browser/chrome
     10571131  54331553  43.760421991s  /proc/self/exe
     29713400  30021182  307.781934ms   /usr/bin/xdg-settings
     29913347  30020597  107.249975ms   /usr/bin/dbus-send
Total time:  54.387691975s
Total startup time: 54.414637346s


Here's a few minutes later as a comparison of a re-launch:

ab@mb:~$ etrace exec /snap/bin/chromium
2020/10/23 10:33:04 xdotool.go:84:
Gtk-Message: 10:33:05.870: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:33:05.878: Failed to load module "canberra-gtk-module"
[13532:13532:1023/103306.073051:ERROR:sandbox_linux.cc(374)] 
InitializeSandbox() called with multiple threads in process gpu-process.
55 exec calls during snap run:
     Start    Stop     Elapsed       Exec
     0        170787   170.787096ms  /snap/bin/chromium
     69294    71325    2.030134ms    /usr/lib/snapd/snap-device-helper
     71603    73843    2.239942ms    /usr/lib/snapd/snap-device-helper
     74141    76043    1.901149ms    /usr/lib/snapd/snap-device-helper
     76359    78934    2.575874ms    /usr/lib/snapd/snap-device-helper
     79273    81710    2.436161ms    /usr/lib/snapd/snap-device-helper
     82119    84248    2.128124ms    /usr/lib/snapd/snap-device-helper
     84535    86640    2.104997ms    /usr/lib/snapd/snap-device-helper
     86929    89451    2.521991ms    /usr/lib/snapd/snap-device-helper
     89810    92721    2.911806ms    /usr/lib/snapd/snap-device-helper
     92988    95205    2.2161ms      /usr/lib/snapd/snap-device-helper
     95503    97882    2.379894ms    /usr/lib/snapd/snap-device-helper
     98278    101335   3.056049ms    /usr/lib/snapd/snap-device-helper
     101711   104525   2.8131ms      /usr/lib/snapd/snap-device-helper
     104835   107031   2.196073ms    /usr/lib/snapd/snap-device-helper
     107302   109755   2.452135ms    /usr/lib/snapd/snap-device-helper
     110089   112574   2.485036ms    /usr/lib/snapd/snap-device-helper
     113059   115902   2.842903ms    /usr/lib/snapd/snap-device-helper
     116266   118742   2.475976ms    /usr/lib/snapd/snap-device-helper
     119730   122039   2.30813ms     /usr/lib/snapd/snap-device-helper
     128300   130826   2.526044ms    /usr/lib/snapd/snap-device-helper
     132220   134815   2.594947ms    /usr/lib/snapd/snap-device-helper
     136248   138945   2.69699ms     /usr/lib/snapd/snap-device-helper
     140130   142584   2.453088ms    /usr/lib/snapd/snap-device-helper
     143489   145586   2.097845ms    /usr/lib/snapd/snap-device-helper
     146519   148869   2.350091ms    /usr/lib/snapd/snap-device-helper
     155803   167716   11.913061ms   snap-update-ns
     170787   186218   15.43188ms    /usr/lib/snapd/snap-exec
     186218   192721   6.502151ms    
/snap/chromium/1362/command-chromium.wrapper
     192721   553580   360.85987ms   /snap/chromium/1362/bin/desktop-launch
     206721   212441   5.720853ms    /bin/date
     242866   248403   5.536079ms    /usr/bin/md5sum
     250622   256972   6.349086ms    /bin/cat
     259377   266833   7.456064ms    /usr/bin/md5sum
     269475   276448   6.973028ms    /bin/cat
     278330   287497   9.166955ms    /bin/grep
     318728   335237   16.508102ms   /usr/bin/head
     338112   355176   17.064809ms   /usr/bin/head
     357845   376586   18.741846ms   /usr/bin/head
     379255   395224   15.969038ms   /usr/bin/head
     397881   413609   15.727043ms   /usr/bin/head
     416536   433078   16.541957ms   /usr/bin/head
     435895   452758   16.862154ms   /usr/bin/head
     456351   471285   14.934062ms   /usr/bin/head
     474035   491394   17.359018ms   /usr/bin/head
     497899   515360   17.461061ms   /bin/ln
     518183   535912   17.72809ms    /bin/rm
     536561   552624   16.063928ms   /bin/ln
     553580   613265   59.684991ms   /snap/chromium/1362/bin/chromium.launcher
     581121   593223   12.101173ms   /usr/bin/getent
     594485   612934   18.449068ms   /usr/bin/snapctl
     613265   3454013  2.840747117s  
/snap/chromium/1362/usr/lib/chromium-browser/chrome
     1039853  3446434  2.406581878s  /proc/self/exe
     1730375  1913139  182.764053ms  /usr/bin/xdg-settings
     1783818  1912457  128.639936ms  /usr/bin/dbus-send
Total time:  3.506243944s
Total startup time: 3.520839923s

-- 
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:
  Incomplete

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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to