Blacklisting cache folders

Good tip in this article about build times on 12-core Mac Pros for Swift projects:

Disable Spotlight indexing for build cache folders. I saw 10% improvement after blacklisting derived data, cache and related folders (“~/Library/Developer” and “~/Library/Caches”) from Spotlight indexing.


Update: actually, from recent comments on the article, it looks like ~/Library/Developer/Xcode/DerivedData is a better candidate than ~/Library/Developer

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s