2D Toolkit Forum

2D Toolkit => Support => Topic started by: Martin on October 10, 2013, 06:21:28 pm

Title: Profiler spikes for tk2dUIManager.SortCameras()
Post by: Martin on October 10, 2013, 06:21:28 pm

I have spikes of activity for  tk2dUIManager.SortCameras() in the profiler, what might cause this?

(http://i.imgur.com/KZUkwT0.png)
Title: Re: Profiler spikes for tk2dUIManager.SortCameras()
Post by: unikronsoftware on October 10, 2013, 09:50:27 pm
As with the previous post, I have a strong feeling this is just hiding a GC.collect in there somewhere, especially likely since the  There is an allocation that happens in the currently released version - it has been fixed in 2.2.1, which should be out any time now. That function doesn't really do very much in there, but if it were a GC.Collect, it will be understandable.
Title: Re: Profiler spikes for tk2dUIManager.SortCameras()
Post by: Martin on October 11, 2013, 01:55:53 pm
Thanks, I'll run this benchmark again when 2.2.1 is out.