All right, now it was with --opengl=1, results are bit different, though
for AI there is no significant difference (8 % now), but the game was
shorter.
In one of my earlier emails I mentioned cmd_queue and it is here indeed -
taking 30%. Main part of this cmd_queue is related to bobs, it seems.
you should probably start out by using opengl instead of the software renderer
- it is swamping your profile. Then, you should sort by “self”, not by “all” or
“time”. That is the information which function takes the most time, not how
much time is spend inside a function in total.
Also, I think
So I opted for gprof and bellow are the results. They are from 3 hours-long
game (AI only) on Crater map (red player was eliminated by blue one). You
can look at it, what is interested for me is that DefaultAI (line 43) - the
main AI function - takes only 6.3 % of total CPU if gprof is correct.
I
3 matches
Mail list logo