Closed reeseschultz closed 4 years ago
I've local changes looking like they're going to drastically reduce the load on the EndFrameParentSystem
, boosting performance beyond what I thought possible. Hoping to push this stuff either tonight or tomorrow.
05aec90776b34b3897943f95a16c903191f515c9 seems to have largely alleviated the concerns here, improving the performance of all the nav demos tremendously. Closing. Would prefer to open a different issue if the EndFrameParentSystem
comes up again.
If there are a considerable number of
NavAgent
s, right now theNavPerformanceDemo
'sEndFrameParentSystem
gets blasted because, I'm assuming, tracking all of the agents parented to the automatically generated default basis. But, it still seems to me that there's more to this. I would think the performance would be better (not that it's bad, it's pretty awesome compared to being limited to a single thread). Anyway, perhaps I'm not optimizing something correctly. If anyone can shed light on myEndFrameParentSystem
concerns, without toggling parenting (and thus jumping) altogether, please let me know. Regardless, I'll continue to sit on this issue and think about it for a while before I add or change anything.