An extension I'm working on is having severe performance issues, causing the screen or gnome to freeze and other issues.

I'd like to fix it, but I have no idea how or where to start. Is there a way to monitor and profile shell extensions? If not, what is a good way to approach this problem? Will I have to disable features until the lag stops? Or will I have to do the profiling by logging a lot of timestamps?

  • Don't you get any error messages in LookingGlass ? – don_crissti Mar 8 '18 at 21:59
  • Nope, nothing. Everything works (kind of) fine – piegames Mar 8 '18 at 22:19
  • Well, if there's nothing useful in the journal either then the only thing that comes to mind is gdb. If that fails to produce anything useful then you'll prolly have to remove features/modules from your extension to isolate the problem. – don_crissti Mar 9 '18 at 11:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.