Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lots of Allocs in Editor Update (Poor Performance in Editor)
#5
Hi,
I did some preliminary work on this. The CPU usage boils down to these Unity methods: Gizmos.DrawRay, Gizmos.DrawCube and HandleUtility.GetHandleSize. These methods seem to not be efficient enough when called thousands of times. I might get some 10% or 20% perfs with some small improvements, but the real optimization (things like twice as fast, or an order of magnitude faster) would mean writing my own batchable alternatives to these methods.
Like I said earlier, I will work on this later, but I thought you might be interested in my preliminary work.
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Lots of Allocs in Editor Update (Poor Performance in Editor) - by _Aka_ - 02-06-2020, 10:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CG documentation update _Aka_ 0 295 06-19-2026, 11:13 PM
Last Post: _Aka_
Question Omitting Undo events in editor oldfort 3 3,005 05-26-2025, 11:29 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 2,130 03-18-2025, 10:11 PM
Last Post: _Aka_
  Update and Black Friday sale _Aka_ 2 2,187 11-23-2024, 11:58 AM
Last Post: _Aka_

Forum Jump: