CPU usage when inactive

Guys,

I have seen this since the first version of AppCode but I thought it would work itself out - well it didn't.

The issue is that AppCode constantly uses 4% CPU - even when unused, in the background, hidden, or in a different space. I don't know what it's doing, but I would like it to just stop when it's not active. 4% is on a Core i7 2.6 - it was 10% and up on my old Core 2 Duo 2.3, which kind of makes sense given the speed difference between the processors.

I would like AppCode to become a well behaved background app that
- I can just leave open even when not using it
- Doesn't kill my battery life

To be fair, XCode does the same thing, it's also very badly behaved when in the background. But that's another story.

Is there any setting in AppCode I can change? In my experience it's perfectly reasonable to expect CPU use well below 1% or so low it doesn't even show up when an app is backgrounded, even for Java apps - Eclipse is a good example. Certainly when it's hidden - no UI to redraw - it shouldn't do anything.

Tips appreciated ;)

0
3 comments

Nikolaus,

please take the CPU snapshots as described in this document: http://www.jetbrains.net/devnet/docs/1087 and attached them to http://youtrack.jetbrains.com/issue/IDEA-87289.

0
Avatar
Permanently deleted user

That bug report is an exact description of my issue - interesting.

I turned on CPU profiling as per instructions and attached the trace to the bug report. Let me know if I can be of any more help.

(The instructions for taking a CPU snapshot could be a little simpler - it's buried halfway down the page and seems daunting, even though it's really easy to do)....

0
Avatar
Permanently deleted user

I am only noticing now that the bug report I attached my CPU snapshot to is about IntelliJ IDEA, not about AppCode.

Better to open a separate ticket on AppCode?

Attaching my snapshot on any case. I don't want this to get buried in IDEA bugs. It's an AppCode bug.



Attachment(s):
OC-117.764_nik_20.07.2012_16.54.26.zip
0

Please sign in to leave a comment.