0

mac: suggest excluding checkout from Spotlight indexing

Change-Id: Iebc8191f9a24d6bc731431904da589debf3460c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3448107
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1007831}
This commit is contained in:
David Sanders
2022-05-26 14:42:18 +00:00
committed by Chromium LUCI CQ
parent ea65d5f1f7
commit aa3fdeb702

@ -357,3 +357,13 @@ Only accepting for all users of the machine requires root:
```shell
$ sudo xcodebuild -license
```
### Exclude checkout from Spotlight indexing
Chromium's checkout contains a lot of files, and building generates many more.
Spotlight will try to index all of those files, and uses a lot of CPU time
doing so, especially during a build, which can slow things down.
To prevent the Chromium checkout from being indexed by Spotlight, open System
Preferences, go to "Spotlight" -> "Privacy" and add your Chromium checkout
directory to the list of excluded locations.