Re: Snapshots too slow to be usable?
Re: Snapshots too slow to be usable?
- Subject: Re: Snapshots too slow to be usable?
- From: Joar Wingfors <email@hidden>
- Date: Thu, 6 May 2010 21:55:24 -0700
On 6 maj 2010, at 15.04, Larry Campbell wrote:
> I just tried creating a snapshot on a small (few dozen files) project. It took, I don't know, 10 or 20 minutes. I created another snapshot; this also took many minutes. Now I can barely use Xcode at all. I would like to delete these snapshots, but just selecting one on the Snapshots window makes Xcode grind away for, oh, 20 or 30 minutes at a stretch? It is just ridiculous.
>
> This is Xcode 3.2.2, Mac OS X 10.6.3, late 2007 Mac Book Pro, 4 GB RAM.
>
> If this is typical, I can't believe anyone actually uses snapshots.
It is not typical, at least not after the first snapshot.
As Jean-Daniel points out, the snapshots are stored on a disk image. If you have weird issues with your snapshots it might be worthwhile to try to quite Xcode and move aside the current snapshot disk image to see if that helps. Filing a bug report in such a case is much appreciated (look for errors in your console log):
<http://developer.apple.com/bugreporter/>
When you grab your first snapshot, this disk image needs to be created and mounted, both of these actions takes a while. Subsequent snapshots in the same session should be really fast. In a subsequent session the disk image has to be mounted again, and that takes some time, but after that individual snapshots should again be fast.
Snapshots, as a concept, makes sense even if you do use a SCM system (less so if you use a distributed SCM system, more so if you use a centralized SCM system). They should, in my personal opinion, not be considered an alternative to SCM, but rather as a complement. Use snapshots to capture the state of your project before you embark on big sweeping changes (like a refactoring that touches a lot of files in your project) that you might want to be able to roll back from.
j o a r
_______________________________________________
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