Re: XCode editor intolerably slow
Re: XCode editor intolerably slow
- Subject: Re: XCode editor intolerably slow
- From: David Ewing <email@hidden>
- Date: Sun, 31 Jul 2005 16:32:53 -0600
On Jul 30, 2005, at 6:16 AM, Andreas Grosam wrote:
On 28.07.2005, at 22:10, David Ewing wrote:
David,
i did more testing and investigated this issue using Shark. Spin
Control does not always reveal the problem in detail. It also
turned out that it is not that simple to figure out where the
problem is. So i really would appreciate it if you would do the
same, since it is difficult to mail you my results - or even
explain all that.
What i suspect is that
1) there is not only one problem, there are several causing
performance hits.
2) one of it is NSLayoutManger - it seems, there is a serious flaw.
Laoding a 5MB file, takes minutes. 80% is spend somewhere in
NSLayoutManager, NSATSTypesetter,
20% is spend in the PBXStringLexer.
(Note, in CW it takes about 2 seconds to load that file, that is CW
is about 100 times faster)
The scaleability issue loading large files is, as I said, a well
understood issue. We're working with AppKit folks to make it better.
Clicking into the function popup takes about 3 seconds till it
opens. 50% of the time is spent in ATSUGetGlyphBounds.
(in CW this takes about <0.5 secs)
Is this for the 5MB file? Is it actually source code with lots of
items in the menu?
Switching syntax coloring on and off, takes minutes.
This is essentially the same case as reloading a file.
Another hint: I got not only delays, but also a total hang of the
system, as i switched the treshhold font size for smoothing text in
the preference panels. XCode had this big file open, begun to spin
the pizza, and suddenly all froze to death.
Please file a bug for this.
Note, all tests with XCode 1.5, and 10.3.9.
XCode 2.1 is even worser.
This most certainly shouldn't be the case, and isn't what we see
here. I'm most interested in samples of Xcode 2.1. If you can get
some, please send it to me off-list.
Dave
_______________________________________________
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