[SDL] [macos 10.5, Intel, SDL 1.2.15] General system slowdown
jens.restemeier at gmail.com
Fri Feb 24 14:24:52 PST 2012
Eric Wing wrote:
> Run Shark or Instruments on your app and find out where your time is
> being spent in your app.
There wasn't anything really standing out... I found a busy-wait for a fixed timespan, but that didn't seem to be the root of the problem. Especially weird is that it runs better on the slower computer (even if you consider the power/clockrate ratio is higher on PowerPC than on Intel.)
I have a hunch that it may be related to the audio code. I could disable it, but some of the game's logic is waiting for sounds to complete. Maybe I'll just port it to SDL_Mixer to see if it makes a difference.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL