How can I make AI have less impact on performance?

With the AIcontroller the fps went from 14 to 28 fps. So still sub-optimal.

Hardware is fine

stat DumpFrame -ms=0.1 shows nothing