This is proving to be really difficult to reproduce -- it's getting
slower (but really slowly) on my spare PC. The memory use for gnome-
shell is, essentially, static.

So: I sampled some perf data from the PC where it consistently happens
and threw up a flame graph.

It spends a bunch of time in 'clutter_actor_destroy' ->
'destroy_closure_array' -> 'handler_lookup'.

This suggests to me that some extension or other is registering a
handler for something multiple times, and not cleaning it up, which
means it takes longer and longer to iterate through the list of
handlers.

I'm gonna have a rummage through the source code to see which function
adds handlers, and then I'll attach a debugger to it to see if
something's leaking registered handlers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1869568

Title:
  Unlock takes a long time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1869568/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to