Performance in the Playgrounds does not match performance in an app

Number:rdar://27131232 Date Originated:6/30/2016
Status:Open Resolved:
Product:Swift Playgrounds Product Version:iOS 10 Beta 1
Classification:Performance Reproducible:Always
A view placed the Swift Playgrounds for iPad Live View does not perform as well as when the same view is placed in a native app.

Steps to Reproduce:
1. Make a view that does some complicated drawing. In my case, I was doing line drawing using SpriteKit.
2. Place that view in an app and run on the iPad from Xcode.
3. Place that view in a Playground and run in the Live View from the iPad.

Expected Results:
The performance of that view in the Playgrounds Live View would be comparable to having that view compiled into an app.

Actual Results:
The Playground Live view was an order of magnitude slower.

iOS 10 Beta 1

Having the Playground performance be comparable to the actual app is important because it would allow quick iterative testing to be done directly on the iPad.

Testing was done on a 12.9” iPad Pro.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!