xcode 9 (9A235) horrible performance...

So i updated xcode to 9 after seeing this in the app store


The source code editor has been completely rebuilt for amazing speed. It scrolls at a constantly smooth rate, no matter the files size.


wait

what

cause for now im just force quitting every hour when everything freezes over


swift code highligth/completion is still broken.

and speed is still amazingly super slow.

oh and opening a storyboard still takes forever


someone needs to explain to me how can an editor become so useless


I miss the days i was working with visual studio 😟

I have same issue on storyboard on performance.


I am trying to discover when it makes performance down.


Case1: New Project on Xcode9.0.1 with High Sierra

1) Create new test project and put a couple viewcontrollers and tableviewcontorlllers on Main Storyboard. >>> no performance down

2) then, put labels, texts, and images with Add missing constrains on those viewcontrollers >>> no performance down

3) finally, I put a scrollview which should be added initially on a viewcontroller , then >>>>> Xcode gets into loop

4) After recover Xcode control, then delete DeriveData by project seeting and Clean Project >>> same as befoe, slow performance


Case2: Old Project developped by Xcode 8 with Swift3.2 and migrate to Swift4 & Xcode9.0.1

In this case, I can not see performance down yet.

Hi all,

I was having the same issue with around 100% just by starting a new default project.

By looking in the options panel, I have by coincidence enabled the "Servers and bots" and then I let my computer for some minutes.

After that, I come back and no more issue with xCode which take no more too ressources (around 5~10%) if I do nothing !!! 😎 ! 🙂 !

Perhaps it has no link with the "Servers and bots" enabled option but if it can help to you!

I hope that it fix also the pb for you, I cross the finger since for me it was perhaps just an indexation pb?

(by the way setting to off also no pb).

I have same kind issues here. Especially speed, I have to spend twice time to build app. I need wait.. wait.. wait.. everytime. This is disaster.

I would like to say to apple. Please fix these issues before adding new features. There is no good customer experience in current version of Xcode9..

Where can I find these options excatly??

I installed today Version 9.1 beta (9B46) and it is pretty good performance.

Finally I can work normally again, Xcode 9 was horribly to me too.

XCode 9.1 Beta 2 states "Fixed a hang when a UITableView was set to “grouped” style. (33483932)".


I do notice storyboard improvements in the above sample project and my own project storyboards...looks like some relief. BUT there is still a performance issue when there are Date Controls in a Grouped Table View.


Observations (in my project):

- Static Table Views or Grouped Table Views without Date Controls appear to be responsive (no wait cursor/beachball)

- Grouped Table Views with Date Controls exhibit ~9 sec wait cursor for each change to ANY table view/prototype row/control property

- Additionally, seems wait cursor is additive when there are multiple date controls on the Group Table view

- 1 Date Control ~9sec

- 2 Date Controls ~18sec

- 4 Date Controls ~40sec


I've added these details to the bug I ahve open in Bug Tracker.

Xcode 9.1 Beta 2 does show some relief with storyboards. Seems grouped tableviews was a big culprit. But, I'm still observing issues with tableviews with datecontrols. Informed Apple of my observations.

For what's worth. I also had major performance issues with the new Xcode. Slow slower slowest.

I did 2 thing disabled indexing en forced stopped IB.


Disable indexing:

On the command line give the command:

defaults write com.apple.dt.XCode IDEIndexDisable 1


You can turn it on with:

defaults delete com.apple.dt.XCode IDEIndexDisable



Force stop of Interface

I found this one by surprise. During one of those awfull moments when IB was doing something / nothing or whatever, I forced stopped Xcode.

Press Alt+Cmd

Select Xcode and press force stop

After that IB runned smoothly!

Oh, and how about those massive memory leaks!!!


64.15 GB memory use, must.... kill... xcode!

Oh, submit a bug report?


Then at least a week later get a reply, this is a duplicate of bug NNNNNN, which we are not going to let you even see.


No Quincey, bug reports are not an effective tool at all.

This Xcode 9 is unbeliveable slow ...how can Apple release this ...which internal depts told their bosses this was a good thing?


WIth my large project, every click in the storboard take 5 or more minutes.


I sit next to a window and instead of jumping out...I admit ...I really want to throw my Mac out because it has xcode 9.01 on it.


Xcode 8 didn't torture me.

Same situation for me and two other developers I work with at my job. The three of us have 8GB RAM configuration for our Macs, RAM drops until 1GB when the simulator starts even with only one sim window running. At home I have a 27 inch iMac with and upgraded to RAM to 16GB its a late 2016 model, it works better on this one.


One thing I do is start the simulator up first before opening xcode and allow it to boot up. It does making the compiling a little faster.

No one should get near Xcode w/just 8GB ram these days 😉

Looks like Apple is trying to fix it with the latest XCode update ( 9.1 )


https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html


By the way, it doesn't fix or change anything for better to me.


Issue Navigator

Known Issues

Working in some projects might result in significant user interface lag. (34802129)Workaround: Remove the

UserInterfaceState.xcuserstate
file from the project’s workspace.
  1. Quit Xcode.
  2. Open Terminal, navigate to the project directory, and run the following command to locate the interface state file:find . -name "UserInterfaceState.xcuserstate"
  3. Delete or relocate the interface state file from the project directory.

doesn't work on me either 😐

xcode 9 (9A235) horrible performance...
 
 
Q