Hello Guest

Author Topic: Profiler spikes for tk2dUIManager.SortCameras()  (Read 3917 times)

Martin

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Profiler spikes for tk2dUIManager.SortCameras()
« on: October 10, 2013, 06:21:28 pm »

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


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Profiler spikes for tk2dUIManager.SortCameras()
« Reply #1 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.

Martin

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Profiler spikes for tk2dUIManager.SortCameras()
« Reply #2 on: October 11, 2013, 01:55:53 pm »
Thanks, I'll run this benchmark again when 2.2.1 is out.