Massively drop search overhead from GNOME Shell search
Various performance fixes for GNOME Shell search.
gnome-photos
gets executed a lot when typing into a Shell search entry. About 9x here for a few words because it exits immediately after performing the search request.
One patch fixes that so we stay alive for another 10 seconds after each search request by setting inactivity-timeout on the application.
Then, we spend another 2+% doing gegl_init()
which isn't necessary for search. Just wait until the first window is displayed for that.
Takes things from about 20% CPU -> 2% CPU.
Edited by Christian Hergert