The more current fix for this bug is: --- gjs-1.54.1/gjs/context.cpp 2018-09-24 04:22:18.000000000 +0000 +++ gjs-1.54.2/gjs/context.cpp 2018-10-22 14:10:59.000000000 +0000 @@ -636,9 +636,9 @@ if (js_context->auto_gc_id > 0) return; - js_context->auto_gc_id = g_idle_add_full(G_PRIORITY_LOW, - trigger_gc_if_needed, - js_context, NULL); + js_context->auto_gc_id = g_timeout_add_seconds_full(G_PRIORITY_LOW, 10, + trigger_gc_if_needed, + js_context, NULL); }
** Changed in: gjs (Ubuntu) Assignee: Daniel van Vugt (vanvugt) => (unassigned) ** Description changed: - Since fixing bug 1672297 we experience much higher CPU during gnome- - shell JavaScript operations, such as the icon spring animation. + Since fixing bug 1672297 in release 18.04 we experience much higher CPU + during gnome-shell JavaScript operations, such as the icon spring + animation. The fix for this regression is https://gitlab.gnome.org/GNOME/gjs/merge_requests/236 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gjs in Ubuntu. https://bugs.launchpad.net/bugs/1803271 Title: [regression] Much higher CPU during some gnome-shell operations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gjs/+bug/1803271/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs