usually it has more to do with your settings and what situations your bot is dealing with more then something that can be "fixed" as the more work that needs to be done per frame is increased your frame rate will decrease as it has to stop rendering to crawl though all the logic that needs to be done for that pulse. make sure you dont have any extra plugins or anything enabled that really doesn't need to be.