开发者

RunWebThread taking up 33% of CPU time on iPhone App

开发者 https://www.devze.com 2023-01-04 05:30 出处:网络
I\'m making a game for the iPhone using Cocos2D.At the beginning of the game, when there are few sprites, the game runs fine, but when there are many sprites on the screen, the game gets choppy.

I'm making a game for the iPhone using Cocos2D. At the beginning of the game, when there are few sprites, the game runs fine, but when there are many sprites on the screen, the game gets choppy.

I've profiled the app, and RunWebThread seems to be taking up 33% of the cpu t开发者_StackOverflowime. I contact a server at the beginning of the game, but there is no Internet usage after this initial contact.

Does anybody know what this thread is doing?


Here's your answer: http://developer.apple.com/mac/library/qa/qa2009/qa1619.html

0

精彩评论

暂无评论...
验证码 换一张
取 消