[regression] Much higher CPU during some gnome-shell operations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gjs (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Cosmic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
Since fixing bug 1672297 in release 18.04 we experience much higher (almost double) CPU usage during gnome-shell JavaScript operations, such as the icon spring animation [1]. Even just moving the mouse is a little more expensive now [2].
[1] https:/
[2] https:/
[Test Case]
Use 'top' to measure the CPU usage of the gnome-shell process while tapping Super+A repeatedly. It should be much lower with the fix than without.
[Regression Potential]
Low. This particular fix is tiny (https:/
[Other Info]
The fix is already released to 19.04 as part of gjs version 1.54.2-1. And already released to 18.10 as part of gjs version 1.54.3-
Related branches
- Ubuntu Desktop: Pending requested
-
Diff: 1653 lines (+481/-189)22 files modifiedMakefile.in (+2/-3)
NEWS (+73/-0)
configure (+43/-13)
configure.ac (+13/-2)
debian/changelog (+10/-0)
debian/control (+4/-2)
debian/gbp.conf (+3/-2)
dev/null (+0/-6)
gi/gtype.cpp (+12/-3)
gi/object.cpp (+227/-86)
gi/object.h (+2/-0)
gjs/context-private.h (+2/-0)
gjs/context.cpp (+33/-6)
gjs/engine.cpp (+8/-21)
gjs/importer.cpp (+1/-1)
gjs/jsapi-util-root.h (+7/-4)
gjs/jsapi-util.cpp (+5/-3)
installed-tests/extra/gjs.supp (+23/-29)
installed-tests/extra/lsan.supp (+0/-3)
modules/overrides/GObject.js (+8/-0)
modules/tweener/tweener.js (+1/-1)
win32/config.h.win32 (+4/-4)
Changed in gjs (Ubuntu): | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
description: | updated |
Changed in gjs (Ubuntu): | |
importance: | High → Medium |
description: | updated |
description: | updated |
description: | updated |
Changed in gjs (Ubuntu Cosmic): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in gjs (Ubuntu Bionic): | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
description: | updated |
Changed in gjs (Ubuntu Bionic): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
description: | updated |
Changed in gjs (Ubuntu Bionic): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in gjs (Ubuntu Bionic): | |
status: | Triaged → In Progress |
Changed in gjs (Ubuntu Bionic): | |
milestone: | none → ubuntu-18.04.2 |
Also, the fix is already in 19.04 here: /launchpad. net/ubuntu/ +source/ gjs/1.54. 2-1
https:/