I’m in the later stages of optimizing my game and I’m seeing spikes labeled as Overhead up to about 28ms which is clearly unacceptable.
What kind of recourse do I have for optimizing Overhead stuff? Is there anything I can do about this?
I’m in the later stages of optimizing my game and I’m seeing spikes labeled as Overhead up to about 28ms which is clearly unacceptable.
What kind of recourse do I have for optimizing Overhead stuff? Is there anything I can do about this?
Are you using C# or Javascript? There are some language specific things to be aware of.
If your overhead spikes to at regular intervals, it’s likely that you have lots of temporary objects being created per-frame and every once in a while the Garbage Collector is causing a slowdown trying to clean it all up. Here’s an article on MSDN explaining the GC and performance issues.