Back to GEM after a break and God it's SLOW!

i5 are generally very good bang for the buck, I'd grab the best one you can afford. i7 supports a technology called hyperthreading, but not many games take advantage of that yet unfortunately and I doubt civ5 is one of them.
 
I believe hardware doesn't matter much, because my brother doesn't notice any lag playing Gem on a 4-year old computer. The main thing which would speed things up is turning the main part of Civup into a core mod. The core uses c++, a much faster programming language than lua. However, I expect this task would take a lot of time. It's in the back of my mind, when I get the drive to do it some time.
 
Another thing that seems to take a long time is after a unit moves; there is a significant delay to move to the next unit.
 
i get slowdown in the city menu when selecting a building to build it takes 2-3 secs before it appears in the queue and also when selecting another city it pauses a bit that's the only slowdown i get.
 
I spent the past two days working on code efficiency. I used the system clock to find trouble spots and rewrite code to run faster.

Updating the city view took 120 milliseconds in my tests, which is now down to around 15ms. The time to move citizens in a city dropped from 100ms to 10ms, and selecting production dropped from 110ms to 2ms.

However, there is still an approximately 100 millisecond delay when opening and closing cities I was unable to track down (separate from the code updating the city view). I tested the city view, city banners, top bar, yield library, and other files I suspected might be running code, but none of them appear to be active. There is also an approximately 150 millisecond delay when selecting technologies. I'll continue searching for possible causes, but no promises. :)

A more noticeable change is games should start about 30 seconds faster now. I re-enabled a check to ensure the autotips table is initialized only once. This might cause an old bug to resurface. Click to report if you see incomplete building tooltips.
 
Thanks Thal - these improvements are probably a huge pain for you to do, but they will make a massive difference to us that love your mod but have trouble with slowness. From the sounds of it, you found a lot of the problems. I really appreciate your hard work.
 
Thanks Thal - these improvements are probably a huge pain for you to do, but they will make a massive difference to us that love your mod but have trouble with slowness. From the sounds of it, you found a lot of the problems. I really appreciate your hard work.

Absolutely! Increases in performance will have a big impact on enjoyment of the mod.
 
Absolutely! Increases in performance will have a big impact on enjoyment of the mod.

This as well.

Honestly if the mod never changed another thing but was just plain faster I would be a happy, happy man
 
Back
Top Bottom