Performance regression: Moving the mouse uses more CPU than it used to
Performance regression: Moving the mouse uses more CPU than it used to (25-30% vs less than 20% on an i7-7700).
1b29d265a8506ffeb0f0d01199ffa962c29d51d0 is the first bad commit
commit 1b29d265a8506ffeb0f0d01199ffa962c29d51d0
Author: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
Date: Thu Oct 22 19:34:51 2020 -0300
clutter/stage: Remove cached pick mode
The cached pick mode never actually cached anything, since it is
always, unconditionally reset when painting. Furthermore, next
commits will cull out actors during pick, which makes the pick
stack uncacheable.
Remove the cached pick mode.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1520>
clutter/clutter/clutter-stage.c | 52 ++++++-----------------------------------
1 file changed, 7 insertions(+), 45 deletions(-)
That was probably predictable. The cached pick mode was designed to solve this exact problem.
Edited by Daniel van Vugt