Xcode 6.1: Enabling source control causes high idle resource use

Originator:google
Number:rdar://18764239 Date Originated:24-Oct-2014 07:15 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.1 (6A1052d)
Classification:Performance Reproducible:Always
 
Summary:
Enabling source control in Xcode 6.1 causes high idle resource use.

Steps to Reproduce:
1. Open Xcode
2. “Enable Source Control” checked in preferences
3. Open any combination or all of the test projects under git source control

Expected Results:
No CPU use and no increase in RAM use after projects are fully open.

Actual Results:
Xcode idle in background with six projects open:
with “Enable Source Control” unchecked at launch
CPU: 0.0 %, RAM: 500 MB

with “Enable Source Control” unchecked at launch, then enabled
CPU: 90.0 %, RAM: continuously increasing (25 MB/s)

with “Enable Source Control” unchecked at launch, then enabled and disabled again
CPU: 90.0 %, RAM: continuously increasing (10 MB/s)

with “Enable Source Control” checked at launch
CPU: 90.0 %, RAM: continuously increasing

Regression:
This was working fine in Xcode 5.1.1

Notes:
Six test projects. All under git source control:
https://github.com/uliwitness/UKSoundWaveformView.git
https://github.com/iluvcapra/JHWaveform.git
https://github.com/YannickL/cocoa-waveform.git
THWaveformView.xcodeproj from https://github.com/tapharmonic/Learning-AV-Foundation.git
https://github.com/iccir/WaveformExplorerView
https://github.com/sebj/WaveformView

Comments

Open Instruments while reproducing this and do a time profile of the Xcode application. Include that time profile with your radar, that will be extremely helpful to engineering.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!