Re: Xcode 3 unresponsive after Save or opening Project Settings?
Re: Xcode 3 unresponsive after Save or opening Project Settings?
- Subject: Re: Xcode 3 unresponsive after Save or opening Project Settings?
- From: Steve Mills <email@hidden>
- Date: Thu, 1 Nov 2007 08:43:22 -0500
On Oct 31, 2007, at 17:38:38, Chris Espinosa wrote:
The samples attached to that bug show that nearly 100% of the spin
is taking place in the Perforce library, and apparently not just
waiting on the Perforce server. If you do a simplar operation with
p4 from the command line do you get the same performance hit?
It'd help to see the SCM log to see what operations p4 is being
asked to do here, because whatever it is is making it sweat quite a
lot.
After finally figuring out where the SCM log was (I thought it used to
have its own menu item), I did a Save on a checked-out file. The log
instantly got 3 new entries - all 3 were the same thing:
status /path/to/file.cp
p4 fstat /path/to/file.cp
Each one took a long time to change from the blue arrow to the green
checkmark. Before I even did this, there were 3 duplicate groups of
commands for the .xcodeproj file:
status /path/to/.xcodeproj
p4 client -o -t myclient
find . -type f -print
p4 sync -f -n /path/to/.xcodeproj/...
p4 opened /path/to/.xcodeproj/...
Does it seem weird that it's using "/..." on a *file*? That's the
perforce symbol for "all files in the directory/label/branch". If I
run a similar command on a source file that I *do* have checked out:
p4 opened /path/to/source/file.cp/...
It says "file(s) not opened on this client." Well duh, of course there
are no files checked out inside that file. Maybe this is some odd
usage of ... that I don't know about, but it looks wrong to me.
As to whether or not the time is being spent inside p4, running the
same commands from Terminal return in the blink of an eye, and none of
the CPUs go anywhere near full throttle.
BTW, it's really annoying that you can't copy anything out of the SCM
log. Having to retype stuff like log output makes me cranky. Entered
as radar://5573366.
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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