• 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 eats 100% CPU and more while typing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode eats 100% CPU and more while typing


  • Subject: Re: Xcode eats 100% CPU and more while typing
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 5 Feb 2008 12:25:47 -0800

On Feb 5, 2008, at 12:10 PM, William Bates wrote:

I just did a series of systematic tests to find out why "Xcode slow to open project".
To jump to the conclusion, the culprit was Syntax Coloring.
Turning off these preferences on and off had NO noticable effect:
-- predictive compilation (Building > Use Predictive Compilation)
-- indexing (Code Sense > Indexing)
-- taking all network volumes out of doc and other paths
-- distributed builds were totally off
Turning off Syntax Coloring made a huge difference, near-instant open vs. 45 seconds of spinner. It was suggested by monitoring Xcode with Shark.

When discussing issues like this, please also include:

- The version of Xcode and Mac OS X you're using.
- The machine configuration you're using it on.
- Some reasonable characterization of the project; e.g., "a small Cocoa project," or "a C++ project with heavy use of namespaces and templates, and files 10,000+ lines long."


Performance always has a context. Syntax coloring performs quite well in a lot of cases, so it's very useful to characterize the case you're running into in a way that Apple can attempt to replicate in development and testing.

  -- Chris

_______________________________________________
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


  • Follow-Ups:
    • Re: Xcode eats 100% CPU and more while typing
      • From: William Bates <email@hidden>
References: 
 >Re: Xcode eats 100% CPU and more while typing (From: Greg Guerin <email@hidden>)
 >Re: Xcode eats 100% CPU and more while typing (From: William Bates <email@hidden>)

  • Prev by Date: Re: Xcode eats 100% CPU and more while typing
  • Next by Date: Re: Xcode eats 100% CPU and more while typing
  • Previous by thread: Re: Xcode eats 100% CPU and more while typing
  • Next by thread: Re: Xcode eats 100% CPU and more while typing
  • Index(es):
    • Date
    • Thread