Re: Xcode eats 100% CPU and more while typing
Re: Xcode eats 100% CPU and more while typing
- Subject: Re: Xcode eats 100% CPU and more while typing
- From: Andy O'Meara <email@hidden>
- Date: Fri, 9 May 2008 11:51:30 -0400
I've also had the performance/typing issue occur often on my setup
(but have not yet filed a bug report since I assumed this had to jump
off the page for the Xcode team--see bystander effect). Weird thing
is, none of our projects have any large source files (our largest file
is 7000 lines).
In any case, I'll definitely be filing a radar next time it happens.
Problem is, it's next to impossible get a repro the problem given the
number of variables (environment, SCM, project, the file itself, and
whatever UI actions/history that led up to that point), so we come
back to the strange fact that only certain projects seem to be affected.
Andy
On May 9, 2008, at 2:40 AM, Andrew Pontious wrote:
On May 8, 2008, at 10:06 AM, Michael Hecht wrote:
On Feb 5, 2008, at 5:29 PM, Chris Espinosa wrote:
On Feb 5, 2008, at 1:58 PM, William Bates wrote:
The bug report was filed some months ago and the response was
"already reported / consolidated." Sorry, I don't have the tracking
number handy.
The only bug report I see from you was a dup of the common Xcode 3.0
hang-on-project-open due to the localhost configuration issue. I
don't see one on slow typing.
I expect that the OP's problem is due to the very large array in a
C++
file. We know there is a degenerate case there and have already
made
some performance improvements in the next version of Xcode, but we
still have room for improvement when syntax-coloring very large
structures.
Chris, I experience the same hangs as Axel Balley (the original
poster). They seem to occur after the project has been modified
(sources added or removed). My samples are very similar to Axel's,
and seem to point to a CodeSense reindex (PBXProjectIndex).
What I fail to understand is:
- The reindex is obviously happening on its own thread.
- I have a multi-core Mac (a Dual Core Mac Pro 17").
- One of the cores is 100% busy; the other one is idle.
- Why is Xcode's UI thread blocked?
--
Michael Hecht
Principal Systems Developer, Macintosh
www.jmp.com
JMP -- Statistical Discovery.™ From SAS.
We are unlikely to get to the bottom of this by speculating.
This does not happen for every Xcode user. There is something
specific about your project and your files.
Please file a bug with steps that we can reproduce.
Thanks,
-- Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden