XCode compiling extremely slow inside VMWare

Hedin picture Hedin · Apr 2, 2011 · Viewed 9k times · Source

The OSX 10.6.6 is installed inside VMware on Windows 7 host. The overall performance is great, However, the compiling time increased dramatically (1 hour against 2-3 min on pure MacOS). It's modern machine with Core i5 & 4GB RAM. Here are the XBench results: http://db.xbench.com/merge.xhtml?doc1=517768&doc2=1&setCookie=true I think the problem could be in extremely slow 4k write value, but I don't know how to improve this.

Is there any way to increase performance?

UPD1: swap is not used, there is enough memory for all operations the disk speed is also not related, since my another Macbook shows event worse results, and compiles hundreds times faster.

UPD2: problem solved, see my answer below

Answer

Brynjar Gigja picture Brynjar Gigja · Feb 2, 2017

Sharing experience and solution.

My Xcode was running fine but when I build a project (even an empty one), it would take up to 10 minutes.

SOLUTION: Go to Xcode -> Preference -> Source Control: Dissable Source Control

Now projects build and run in a matter of seconds.