Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

scudcloud uses too much CPU #152

Closed
tigerand opened this issue Jun 17, 2015 · 8 comments
Closed

scudcloud uses too much CPU #152

tigerand opened this issue Jun 17, 2015 · 8 comments

Comments

@tigerand
Copy link

when the scudcloud application window has the focus on my Desktop, it consumes massive amounts of CPU. There's no good reason for that. Sure, it may be animating various little things on occassion, but that should be hardly noticeable CPU wise. Some things I expect might bump up the CPU usage a bit, like hitting the arrow key to start editing a previous message, or when typing fast and it's hammering away at hunspell all the time. But when completely idle, there should be no obviously noticeable CPU usage.

top lists the program as 'python'. It mostly sits at ~100% for one core.

It also consumes massive amounts of CPU when doing the desktop notification for a push notification.

Ubuntu 14.04. Unity.
8-logical core 2.4GHz base clock Intel E3 processor.

@raelgc
Copy link
Owner

raelgc commented Jun 19, 2015

Hi @tigerand and thank you for reporting this issue.

In some channels or room, I heard from people this unusual behaviour.

Unfortunately, ScudCloud has not that much control over this, as we're using a webkit container to render Slack. Maybe upgrade to webkit5, not sure.

Anyway, today I just added one option to start ScudCloud with all plugins disabled: scudcloud --no_plugins=True

Other option can be use Slack in Firefox + Native notifications plugin.

@raelgc
Copy link
Owner

raelgc commented Jun 23, 2015

@tigerand Can you update and check if the CPU usage is a bit lower now?

@tigerand
Copy link
Author

substantial improvement when idle.

still uses too much when it's up to something, especially desktop notifications and receiving a message from someone, but i'll take what i can get.

i noticed the web interface also now uses less CPU when idle, but the app is slightly more responsive because it's not running inside chrome browser. or perhaps that's my imagination. trying to get some extra lifetime out of my 10+ year old laptop!

thanks for the nice app.

-a

On Jun 23, 2015, at 11:17 AM, Rael Gugelmin Cunha wrote:

@tigerand Can you update and check if the CPU usage is a bit lower now?


Reply to this email directly or view it on GitHub.

@tomchiverton
Copy link

On Kubuntu 14.04, there's no CPU usage to speak off, focused or not. About 10% when I'm typing.

@tigerand
Copy link
Author

tigerand commented Jul 2, 2015

You are correct. CPU usage is substantially improved -- one might say
completely cured -- in all areas, not just in idle or off-focus times.
I was wrong in my previous email where I said it still used too much CPU
during some operations. It used to use so much CPU during desktop
notifications that it would hog out the X server and "freeze" the
whole desktop for 2-3 seconds. Now, it's completely unnoticeable and
smooth during notifications. Very nice. I've switched over to the app
on all my computers. You guys do some good work.

Thanks!

On Thu, 02 Jul 2015 02:20:50 -0700 Tom Chiverton
notifications@github.com wrote:

On Kubuntu 14.04, there's no CPU usage to speak off, focused or not. About 10% when I'm typing.


Reply to this email directly or view it on GitHub:
#152 (comment)

@ghost
Copy link

ghost commented Sep 24, 2015

I'm still seeing a lot of cpu usage (and noticieably slower performance) when snippets are open.

@raelgc
Copy link
Owner

raelgc commented Sep 25, 2015

Snippets, files... probably we'll see a performance improvement while upgrading to Qt5, as discussed on #140. I'll mark this as duplicate of it.

@raelgc raelgc closed this as completed Sep 25, 2015
@raelgc
Copy link
Owner

raelgc commented Nov 16, 2016

I just release a new version with an option to disable snippets (they'll be viewable in browser after click).

After upgrade, open your config file located at ~/.config/scudcloud/scudcloud.cfg and add the following line:

Snippets=False

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants