Re: Threads & communication performance
Re: Threads & communication performance
- Subject: Re: Threads & communication performance
- From: Laurent Michel <email@hidden>
- Date: Mon, 8 Aug 2005 23:49:01 -0400
On Aug 8, 2005, at 11:33 PM, Scott Ribe wrote:
Any advice ? Suggestions ?
As previously suggested, decouple drawing from calculation. You may
think
the app felt sluggish at 35fps, but there's simply no way a human can
perceive the individual changes even at that rate...
I am not after a high FPS per se. This was just another symptom/
observation that I did correlate with the odd low CPU usage (pauses).
Shaun provided me with a good explanation of the cause for these
pauses. Now I will have to streamline the communication to eliminate
the bottleneck that causes the pauses (I am flooding the message
queue of the Cocoa thread which induces blocking waits until the
queue is at least partially emptied by the UI thread). Solution: re-
architect to avoid that message flood.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden