Re: [Widelands-dev] Fwd: performance question

2014-09-11 Thread Holger Rapp
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

Re: [Widelands-dev] Fwd: performance question

2014-09-11 Thread Tibor Bamhor
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.

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1343297_2 into lp:widelands

2014-09-11 Thread GunChleoc
2 questions then: what does the _t in TypeAndLevel_t mean? We also have some _s stuff in the typedefs. I also have trouble with a rule for everything - a simple check for underscore won't do, because of the uint16_t in definitions like std::pairuint16_t, uint16_t. Also, some typedefs are