Debugging/stress testing computations

I need help with 2 things. I need the command line codes to monitor 2 things.

  1. AI flight system, want to test how many calculations per second and how much stress the computations are putting on the processor

  2. Want to see how many total assets are in game as there are many projectiles and I want to make sure there isn’t infinitely increasing assets

Essentially want to stress test computations to see where I’m getting bottlenecked and what resource costs are effecting the computer.

the command “obj list” will list all the objects in your game world, you’ll be able to see how many of any given object you have.

the command “stat unit” will tell you where you are being bottlenecked. Check the link i provided for in-depth info on profiling the performance of your game

Thanks so much, appreciate it!