Performance problem

Sylmerria

New member
Hi !

I begin to stress test what I have build so far and I have a BD performance problem.
I have pretty simple trees for now, I'm doing BT pooling but it's not enough it seems :(
Enable a BT takes 3-4ms(!) & 100Ko of temp memory each which is not viable for my project.
Any tips to improve that because at the end I want hundreds of trees so it's a big deal now.
(Stat & screen takes from a debug build)
 

Attachments

  • BDPerf.PNG
    BDPerf.PNG
    225.1 KB · Views: 6
  • Tree.PNG
    Tree.PNG
    120.6 KB · Views: 9
Last edited:
Enabling the behavior tree will cause allocations as the data structures are created. These objects are pooled but if more needs to be allocated then it will do so.

Instead of continuously enabling/disabling the tree you could keep it active with an idle task.
 
Top