Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RunWebThread taking up 33% of CPU time on iPhone App

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 time. 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?

like image 887
Jessica Avatar asked Jun 19 '10 16:06

Jessica


1 Answers

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

like image 135
David M. Avatar answered Oct 14 '22 08:10

David M.