Xcode's SpriteKit scene editor becomes slow with a modest number of nodes

Originator:jonathan
Number:rdar://21662426 Date Originated:02-Jul-2015 04:21 PM
Status:Closed Resolved:24-Jul-2015 10:47 AM
Product:Developer Tools Product Version:Xcode Version 6.4 (6E35b)
Classification: Reproducible:Yes
 
Summary:
Once a SpriteKit scene file has a relatively small number of empty nodes in it (15 or so) Xcode starts to bog down pretty heavily and max out 1 CPU on the system, even when sitting idle.

Closing and re-opening the project helps a bit, but as soon as you edit the file it starts happening again.

Steps to Reproduce:
1. Create a new SpriteKit OS X project.
2. Open the default scene file.
3. Start adding empty nodes to it.

Expected Results:
Xcode should be responsive, not maxing out a CPU.

Actual Results:
Xcode becomes sluggish, editing the scene file is slow, even typing in a node's fields can become very slow.

Version:
Xcode Version 6.4 (6E35b)

OS X Version 10.10.4

Notes:
The attached project (SpriteKitSlowdown.zip) shows the behavior. GameScene.sks has a single SKSpriteNode and 29 empty SKNodes in the scene.

Configuration:
I'm using a MacBook Pro (13-Inch, Late 2011), 2.4 GHz Intel Core i5 with 8 GB 1333 MHz DDR3 RAM, using a 3rd party SSD (Samsung 840 EVO).

GPU is an Intel HD Graphics 3000, currently plugged into a 1920x1080 monitor, though I see the same behavior when using the built-in display.

Comments


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!