SpriteKit very poor performance with iAd

Originator:jgnovak
Number:rdar://17829324 Date Originated:07/28/14
Status:Open Resolved:
Product:SpriteKit, iAd Product Version:
Classification: Reproducible:Always
 
Jeremy Novak28-Jul-2014 10:52 AM

Summary:
Consistently getting very high CPU usage that builds from nominal to over 100% in a short period when using iAd in any of my SpriteKit games. These games all perform with < 30% CPU and < 25MB on an iPhone 5 without iAd at consistent 60 FPS.

Adding the bannerView to the ViewController causes CPU usage to climb steadily over a few seconds to ~ 110% - 130% and memory to slowly climb as well.

Steps to Reproduce:
1. Create iAd bannerView and add it as a child of the root view controller. 
2. Launch game.
3. Watch resource usage.

Expected Results:
Impact of iAd to be a lot less noticeable. In my previous releases of games using iAd on the App Store adding an iAd banner had no appreciable effect on game performance. 

Actual Results:
Very high CPU usage and climbing memory usage that accumulates in just a few seconds after launch. The game doesn't need to be played, just setting in the SKScene for a few seconds is enough time to see the impact. 

Version:
iPhone 4 7.1.12, iPhone 5 iOS8 Beta 4, iPad 2 iOS8 Beta 4

Notes:
Appreciate your attention in looking into this issue.

Configuration:
Tested in iPhone4, iPhone5, and iPad 2

Attachments:

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!