• 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 2.1 saving lag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.1 saving lag


  • Subject: Re: Xcode 2.1 saving lag
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 15 Jun 2005 10:53:06 -0700

On Jun 14, 2005, at 7:40 PM, Rosyna wrote:

Since I grew up using Microsoft Word and the like, it's become second nature for me to press command S to save every few seconds (instinctively). However, since upgrading to Xcode 2.1, I've noticed a huge lag whenever I said. I even get the spinning beach ball. Is there some new setting in Xcode that causes it to do something wacky and compute intensive on save?

It's doing three things:

1) It's recalculating the dependency tree to mark dependent files and targets as dirty and needing a rebuild. We know this process is unoptimized and are working on it.

2) It's reindexing that file. This happens on a lower-priority background thread and shouldn't take too long or be noticeable.

3) It's actually compiling the file in the background for you, in case that's the next thing you'll be doing. Again, this happens on a low-priority background thread. If you have a low-memory machine this may cause swapping and result in a spin, but if you have more RAM this is not noticeable

4) It's unfortunately doing a full text layout of the entire file. This is only noticeable in very large files, but is an optimization opportunity for us.

My guess is that you have a large dependency tree, and that you're running into 1).

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 2.1 saving lag
      • From: Rosyna <email@hidden>
    • Re: Xcode 2.1 saving lag
      • From: Ben <email@hidden>
References: 
 >Xcode 2.1 saving lag (From: Rosyna <email@hidden>)

  • Prev by Date: Re: How to choose the compiler in a new project
  • Next by Date: Re: Xcode Project File Format
  • Previous by thread: Re: Xcode 2.1 saving lag
  • Next by thread: Re: Xcode 2.1 saving lag
  • Index(es):
    • Date
    • Thread