Window overview on current workspace (Super hotkey) takes half a second after longer uptime (Flamegraphs attached)
When running Gnome 3.32 for serveral days, the window overview of all windows on the current workspace (press Super) takes a long time to build up.
For example, I press Super and only a second later does the animation start.
I use gnome-shell-3.32.2-2.fc30 on Fedora and installed the appropriate debuginfo to generate flame graphs. One of those debuginfo packages was for mozjs60 (Spidermonkey), where most of the CPU-time appears to be spent when pressing Super.
The flame graph below were generated in ~3 seconds with ca. 6 super keystrokes.
I have to keep the
-F sampling frequency low because the generated call graph is enormous. I can crank it up if that's helpful, but will have to remove mozjs60-debuginfo to make the recorded data fit in RAM.
We can see that about one core is busy with gnome-shell, and that activity only occurs when pressing super.
Please tell me if and how I can do any more profiling before I reboot my machine.
(The problem persists when restarting the shell with
Sry, had to reboot, will have to wait a few days until things get worse.
alt-f2 r <enter>).
sudo perf record -g --call-graph=dwarf -F 11 -a sleep 3