Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Profiler spikes for tk2dCamera.OnPreCull()
« previous
next »
Print
Pages: [
1
]
Author
Topic: Profiler spikes for tk2dCamera.OnPreCull() (Read 4646 times)
Martin
2D Toolkit
Newbie
Posts: 17
Profiler spikes for tk2dCamera.OnPreCull()
«
on:
October 10, 2013, 06:26:55 pm »
I have spikes of activity for tk2dCamera.OnPreCull() in the profiler, what might cause this?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Profiler spikes for tk2dCamera.OnPreCull()
«
Reply #1 on:
October 10, 2013, 09:47:14 pm »
That is likely hiding a GC.Collect somewhere.
That function is "expensive" in the editor, but shouldn' be anywhere near that bad. Its an editor only function (Editor__GetGameViewSize) as well, so it can't possibly cause any issues at runtime.
Logged
Martin
2D Toolkit
Newbie
Posts: 17
Re: Profiler spikes for tk2dCamera.OnPreCull()
«
Reply #2 on:
October 11, 2013, 01:54:42 pm »
Thanks, that clears it up. It's peace of mind to know I can ignore this one while profiling
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Profiler spikes for tk2dCamera.OnPreCull()