• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode editor intolerably slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode editor intolerably slow


  • Subject: Re: XCode editor intolerably slow
  • From: Andreas Grosam <email@hidden>
  • Date: Mon, 1 Aug 2005 20:07:11 +0200


On 01.08.2005, at 16:33, Sean McBride wrote:

On 2005-07-30 10:43, Marshall Clow said:


Xcode gives you a _much_ smaller list (and shows the lack of
integration with the compiler):


I've often wondered how much of Xcode's slowness is due to it not being
integrated with gcc. Does Xcode spawn a new gcc process for each file
it compiles? Surely there is a hit there.


I think Xcode's GUI also suffers from not being integrated with gcc.
Witness multiline error messages from gcc being counted as multiple
errors, and other minor but lame things such as that.

Maybe Apple should GPL Xcode so it can integrate gcc into the app itself.

I don't think the main performance problem is due to "not being integrated". Sure, there are a couple of messages which needs to be passed across processes, but I'm experiencing certain performance issues which are in the range from 10 to 500 times slower than a comparable application.


After investigating this problem using Shark (which is a great tool!), I suspect it is AppKit and especially NSTextView, NSLayoutManager and possibly some additional suboptimal implementation techniques (bugs?) which may cause this problem.
I experienced the same issues in other applications that use AppKit and NSTextView - e.g. TextEdit.


(On the otherhand, MLTE isn't great either, but much faster than NSTextView, but still 20 to 50 times slower than handcrafted editors).


Regards Andreas



-- ____________________________________________________________ Sean McBride, B. Eng email@hidden Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada




_______________________________________________ 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
References: 
 >Re: XCode editor intolerably slow (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Compiler warnings
  • Next by Date: Re: User & Password
  • Previous by thread: Re: XCode editor intolerably slow
  • Next by thread: Re: XCode editor intolerably slow
  • Index(es):
    • Date
    • Thread