[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2019-01-31 Thread Daniel van Vugt
** Changed in: gjs (Ubuntu Bionic)
Milestone: None => ubuntu-18.04.2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2019-01-15 Thread Launchpad Bug Tracker
This bug was fixed in the package gjs - 1.52.5-0ubuntu18.04.1

---
gjs (1.52.5-0ubuntu18.04.1) bionic; urgency=medium

  * New upstream release (LP: #1809181, LP: #1803271)
  * d/p/fix-crashes-lp1763878-revert-575f1e2e077.patch,
d/p/fix-leaks-lp1672297-1-context-Add-API-to-force-GC-schedule.patch,
d/p/fix-leaks-lp1672297-2-object-Queue-a-forced-GC-when-toggling-down.patch:
- Drop patches included in new release
  * debian/gbp.conf:
- Point branches and tag rules to ubuntu

 -- Marco Trevisan (Treviño)   Wed, 19 Dec 2018
19:32:06 +0100

** Changed in: gjs (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2019-01-08 Thread Daniel van Vugt
To clarify, when the original problem was discovered in cosmic the CPU
usage was around 80%, and the fix made it less than 50% [1].

But now even without the fix (although in bionic, still using the same
hardware), CPU usage for the same test case is around 50%. So indeed the
main issue seems to be gone.

What I can't figure out is why the problem isn't reproducible in bionic
even when the root cause was introduced in bionic version
1.52.1-1ubuntu1. The bug and the effect of the fix was much more obvious
in cosmic and disco...

Still, gjs version 1.52.5-0ubuntu18.04.1 eliminates even the theoretical
possibility of the CPU problem and it allows us to drop all patches \o/

[1] https://gitlab.gnome.org/GNOME/gjs/merge_requests/236

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2019-01-08 Thread Daniel van Vugt
The new version 1.52.5-0ubuntu18.04.1 seems to work well on bionic.

Strange I was unable to reproduce the original bug before installing it.
But after installing it, there is still no problem either.


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2019-01-08 Thread Brian Murray
Hello Daniel, or anyone else affected,

Accepted gjs into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/gjs/1.52.5-0ubuntu18.04.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: gjs (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-19 Thread Jeremy Bicha
** Changed in: gjs (Ubuntu Bionic)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-19 Thread Launchpad Bug Tracker
** Merge proposal linked:
   https://code.launchpad.net/~3v1n0/ubuntu/+source/gjs/+git/gjs/+merge/361167

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-19 Thread Treviño
** Changed in: gjs (Ubuntu Bionic)
 Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-19 Thread Treviño
Not need to go through debian actually, we can just release this for Ubuntu.
Or in any case you can contribute to salsa's version to get this in testing so 
that it can be copied to ubuntu with version change later.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-14 Thread Daniel van Vugt
Unassigned myself. The fix for bionic will arrive via upstream release
1.52.5, but we probably want that to go into Debian testing first which
is something I don't have the power to do.

It also looks like 1.52.5 will allow us to drop all patches \o/

** Changed in: gjs (Ubuntu Bionic)
 Assignee: Daniel van Vugt (vanvugt) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-11 Thread Daniel van Vugt
** Description changed:

  [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://gitlab.gnome.org/GNOME/gnome-shell/issues/349
  [2] https://gitlab.gnome.org/GNOME/mutter/issues/283
  
  [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://gitlab.gnome.org/GNOME/gjs/merge_requests/236) and has been
  released and used in a couple of upstream gjs versions already without
  issue.
  
  [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-1~ubuntu18.10.1.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-11 Thread Daniel van Vugt
gjs (1.54.3-1~ubuntu18.10.1) cosmic; urgency=medium

  * No-change SRU backport from unstable / disco to cosmic (LP: #1804641)
  * Also fixes crash on `gnome-shell --replace' (LP: #1796238)

gjs (1.54.3-1) unstable; urgency=medium

  * Team upload
  * New upstream release
  * Force time zone to UTC when running tests.
This hopefully fixes FTBFS in the pathological time zone used to test
reproducible builds.

gjs (1.54.2-1) unstable; urgency=medium

  * Team upload
  * Upload to unstable (starts transition: #906016)
  * d/watch: Only watch for versions from a stable branch
  * New upstream release
  * Bump Standards-Version to 4.2.1 (no changes required)
  * Use dpkg's default.mk to get upstream version number for dependencies.
This avoids relying on the differently-named variables in
gnome-get-source.mk, and also does the right thing if gjs ever gains
an epoch.
  * d/rules: Remove gnome-get-source.mk (please use uscan instead)

 -- Iain Lane   Thu, 22 Nov 2018 12:21:13
+

** Changed in: gjs (Ubuntu Cosmic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-11 Thread Sebastien Bacher
** Changed in: gjs (Ubuntu Bionic)
 Assignee: (unassigned) => Daniel van Vugt (vanvugt)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-12-02 Thread Daniel van Vugt
The fix is also coming for bionic:

https://gitlab.gnome.org/GNOME/gjs/commit/8f8276353bf51ac19e6e587ae7d1f69e48310739

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-27 Thread Daniel van Vugt
** Description changed:

  [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.
+ 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://gitlab.gnome.org/GNOME/gnome-shell/issues/349
+ [2] https://gitlab.gnome.org/GNOME/mutter/issues/283
  
  [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://gitlab.gnome.org/GNOME/gjs/merge_requests/236) and has been
  released and used in a couple of upstream gjs versions already without
  issue.
  
  [Other Info]
  
  The fix is already released to 19.04 as part of gjs version 1.54.2-1.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-27 Thread Daniel van Vugt
This will include the fix and likely land sooner:

https://launchpad.net/ubuntu/+source/gjs/1.54.3-1~ubuntu18.10.1

Unsubscribing sponsors.

** Changed in: gjs (Ubuntu Cosmic)
 Assignee: Daniel van Vugt (vanvugt) => (unassigned)

** Changed in: gjs (Ubuntu Cosmic)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-22 Thread Daniel van Vugt
** Changed in: gjs (Ubuntu Cosmic)
   Status: New => In Progress

** Changed in: gjs (Ubuntu Cosmic)
   Importance: Undecided => Medium

** Changed in: gjs (Ubuntu Cosmic)
 Assignee: (unassigned) => Daniel van Vugt (vanvugt)

** Changed in: gjs (Ubuntu Bionic)
   Status: New => Confirmed

** Changed in: gjs (Ubuntu Bionic)
   Status: Confirmed => Triaged

** Changed in: gjs (Ubuntu Bionic)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-22 Thread Chris Halse Rogers
** Also affects: gjs (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: gjs (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-20 Thread Daniel van Vugt
Also the fix for bionic is coming, eventually:

https://gitlab.gnome.org/GNOME/gjs/merge_requests/256

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-19 Thread Daniel van Vugt
Fix for cosmic attached.

** Patch added: "gjs_1.54.1-1ubuntu1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/gjs/+bug/1803271/+attachment/5214115/+files/gjs_1.54.1-1ubuntu1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-19 Thread Daniel van Vugt
** Description changed:

  [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.
  
  [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/Medium. This particular fix
- (https://gitlab.gnome.org/GNOME/gjs/merge_requests/236) has been
+ Low. This particular fix is tiny
+ (https://gitlab.gnome.org/GNOME/gjs/merge_requests/236) and has been
  released and used in a couple of upstream gjs versions already without
- issue. The real regression potential comes from other bug fixes included
- in version 1.54.2
- (https://gitlab.gnome.org/GNOME/gjs/blob/gnome-3-30/NEWS). Although they
- are only bug fixes.
+ issue.
  
  [Other Info]
  
  The fix is already released to 19.04 as part of gjs version 1.54.2-1.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-19 Thread Daniel van Vugt
** Changed in: gjs (Ubuntu)
   Importance: High => Medium

** Description changed:

- Since fixing bug 1672297 in release 18.04 we experience much higher CPU
- during gnome-shell JavaScript operations, such as the icon spring
- animation.
+ [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.
  
  The fix for this regression is
  https://gitlab.gnome.org/GNOME/gjs/merge_requests/236

** Description changed:

  [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.
  
- The fix for this regression is
- https://gitlab.gnome.org/GNOME/gjs/merge_requests/236
+ [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/Medium. This particular fix
+ (https://gitlab.gnome.org/GNOME/gjs/merge_requests/236) has been
+ released and used in a couple of upstream gjs versions already without
+ issue. The real regression potential comes from other bug fixes included
+ in version 1.54.2
+ (https://gitlab.gnome.org/GNOME/gjs/blob/gnome-3-30/NEWS). Although they
+ are only bug fixes.
+ 
+ [Other Info]
+ 
+ The fix is already released to 19.04 as part of gjs version 1.54.2-1.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-13 Thread Daniel van Vugt
The more current fix for this bug is:

--- gjs-1.54.1/gjs/context.cpp  2018-09-24 04:22:18.0 +
+++ gjs-1.54.2/gjs/context.cpp  2018-10-22 14:10:59.0 +
@@ -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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1803271] Re: [regression] Much higher CPU during some gnome-shell operations

2018-11-13 Thread Daniel van Vugt
Also, the fix is already in 19.04 here:
https://launchpad.net/ubuntu/+source/gjs/1.54.2-1

** Changed in: gjs (Ubuntu)
   Status: New => Fix Released

** Tags added: bionic cosmic disco

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs