I’ve been getting framerates of about 30-35 FPS recently, with seemingly very little going on in my program, so I decided it was time for some optimization. Unfortunately, I am not sure how to interpret much of what PStats is telling me. I’m assuming it’s intuitive - for example, I assume that if my graphics memory is reading 2.3 MB, then that’s fine; and I assume that if frame time is 63ms in Graph A and 9 ms in Graph B, there is more of a problem in the aspects Graph A deals with (whereas more Hz is better than less Hz). Basically, whenever the graphs are low, that’s good, and when they’re way up, that’s bad - right?
That said, I’m not sure what all the names actually mean, and there’s no list on the PStats page in the manual. For example, I am getting 60-65 ms frame speed / 30-35 Hz in the “Wait” collector, almost all of the work being something called “Thread Block” (in contrast, I’m getting 8-10ms and 110-140 Hz in “App Time”, and almost everything else seems to have very low graphs, except collisions and generate text). I don’t know what Thread Block is, but it seems to be causing problems.
So what I’m wondering is this: is there a resource somewhere that tells me, as though I were a newbie (which I am), what sort of operations are picked up by what collectors, and correspondingly, indirectly help me figure out what I need to change in order to improve performance? Also, more immediately, what is Thread Block, and how can I get it back in line? I’d much appreciate any advice you can give!
EDIT: I’ve looked around the forums and found that I might need to change some settings in my Config file, but when I open the Config.prc file, I don’t see the settings at all. I am using Panda3D-1.7.0 - is it maybe somewhere else in my version? Also, from the sounds of it, changing these settings might ruin my overall PC performance - isn’t there another way? This is the thread where I saw these settings: