Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Community Center > Off Topic

Reply
 
LinkBack Thread Tools Display Modes
Old 06-06-2011, 06:36 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 1,106
Meredi86 is on a distinguished road
Default is xcode 4 really supposed to be this slow?

Hey guys. Over time in 4 i have started to notice a bit of sluggishness. It has crept in slowly since 4 was released to the general public. Basically i will get the SBBOD nearly every time i click on something or type something. Some examples:

I am editing my .m and realise i need to drop over to my .xib. So i click on my .xib, and then have to wait about 10 seconds for the SBBOD then it will show up, the same will happen when returning to the .m file.

I am editing a 400+lines long code, and need to scroll to the bottom. First i must wait for the SBBOD to finish spinning then the scroll (that i set to start before the SBBOD appeared) will jump down in one massive movement - this is the biggest pain as i usually end up scrolling too far.

I am entering some code and instead of the auto complete filling it in i must again wait for the SBBOD to finish before i can use auto complete. This one is also annoying because ill be typing faster than my computer and end up returning to a new line, not selecting the auto complete from the list.

These are just 3 of the most annoying times that i will see the SBBOD, but i can get it when selecting different UI elements in one xib, or changing the inspector type, or changing the name of an attribute in core data. the list just goes on, and while 2 weeks ago i didnt mind it so much now i am ready to blow up. It is increasing my development time quite a lot as i can spend upwards of 10 mins a day sat watching that god damn SBBOD. Has anyone else seen this or is it just in my case?

Just to clear it up i very much doubt its my tower: Intel 8-core Xeon 2.8, 6GB RAM, 320gb HD (approx 100 free). So my computer shouldnt really be sweating over this but it is. Any ideas? My next move to be honest will be to contact Apple about this - a £1500+ (albeit a 3 year old one) computer shouldnt be chocking this much with only xcode and safari open, when almost always i have 1GB RAM free and about 98% CPU cycles free
Meredi86 is offline   Reply With Quote
Old 06-07-2011, 01:32 AM   #2 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 3
berg01 is on a distinguished road
Default

Same here. I'm on the newest 2010 Mac Mini and experience exactly the same problems. It's so bad that I've gone back to using Xcode 3.2
berg01 is offline   Reply With Quote
Old 06-07-2011, 02:07 AM   #3 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 42
Posts: 1,244
dljeffery is on a distinguished road
Default

I haven't been having those issues. Although there a couple things which might be important factors:

1) I put a 160GB Intel 320 series SSD in my 2010 MBP (dual core 2.4GHz i5, 8GB) a couple months ago
2) I disabled the Subversion IDE plugin

Honestly, I would guess that #2 is the more important step. Xcode just seems to spend way too much CPU time (and network, too) to continuously keep the file list updated with current source control status.

There seems to be no way to tell Xcode whether or not to enable the plugins; if your project is under version control, it always wants to do it. So you have to do it the brute force way:

Code:
cd /Developer/Library/Xcode/PrivatePlugIns/
sudo mv IDESubversion.ideplugin/ IDESubversion.DISABLED
For Subversion operations, I use a mixture of the command line and Cornerstone. Honestly have never been a fan of version control built into IDEs anyway (not on Xcode, not on Visual Studio, not on Eclipse).
__________________
Recall It! Tag your notes. Tag your photos. Tag your thoughts. Tag your life.

Recall It! for iPad

http://www.dljeffery.com
dljeffery is offline   Reply With Quote
Old 06-07-2011, 03:10 AM   #4 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 1,106
Meredi86 is on a distinguished road
Default

Thanks for the replies guys, interesting to hear about other experiences.

dljeffery - thanks for the tip, i have just dropped that into terminal, and will see how it affects the speed today. Ill post back after to let people know what type of effect it has.
Meredi86 is offline   Reply With Quote
Old 07-02-2011, 10:54 PM   #5 (permalink)
Registered Member
 
headkaze's Avatar
 
Join Date: Feb 2010
Posts: 359
headkaze is on a distinguished road
Default

Quote:
Originally Posted by Meredi86 View Post
dljeffery - thanks for the tip, i have just dropped that into terminal, and will see how it affects the speed today. Ill post back after to let people know what type of effect it has.
Does turning off subversion help?

So far I know of 3 ways to improve XCode 4's performance

1. Turn off the built in subversion. There is no way to do this in XCode but you can do it via command line below

Code:
cd /Developer/Library/Xcode/PrivatePlugIns/
sudo mv IDESubversion.ideplugin/ IDESubversion.DISABLED
2. Delete the project.xcworkspace file. To do this right-click on YourProject.xcodeproj select "Show Package Contents" and delete project.xcworkspace.

3. Set XCode to 32-bit mode. Right click the app (in /Developer/Applications/XCode.app) and select "Get Info" and check "Open in 32-bit mode".

Please post your results.
__________________
Headsoft | Jungool

Last edited by headkaze; 07-03-2011 at 02:51 AM.
headkaze is offline   Reply With Quote
Old 07-03-2011, 12:11 AM   #6 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 261
vbovio is on a distinguished road
Default

I just upgraded to XCode 4 a few days ago, I can resume it in 3 words: different, fancy & slow...
ok, it has some improvements here and there, and many things are changed into place, looks and works fancy to me, a bit bloated, the interface reminds me of itunes , but what bugs me, is that I find it sluggish.. I can get used to all the changes, "improvements", or whatever, but if it is not fast as I was used to XCode 3, then it does not convince me, I miss XCode 3 I hope Apple improves XCode 4 speed..
__________________
BovioSoft Games
vbovio is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 492
13 members and 479 guests
andyzaharia, AppsBlogger, David-T, Drmatrix, flamingliquid, HemiMG, iAppDeveloper, Jaxen66, jon01, Paul Slocum, SLIC, tiendung2992, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,684
Threads: 94,131
Posts: 402,932
Top Poster: BrianSlick (7,990)
Welcome to our newest member, tiendung2992
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:23 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0