View Issue Details

IDProjectCategoryLast Update
0029257Heart Of The MachineGameplay IssueAug 13, 2024 12:25 pm
ReporterAthena Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.578 Out With Color Matching 
Fixed in Version0.581 Turn-Change Performance 
Summary0029257: Long delay between turns
DescriptionThe delay between turns is exceeding multiple seconds now that I've beaten the story content.
TagsNo tags attached.

Activities

Athena

Aug 10, 2024 6:14 pm

reporter  

Chris_McElligottPark

Aug 13, 2024 11:05 am

administrator   ~0069945

This section of the F3 menu would be useful for me to see in addition to what you provided there. Happily, it is also slow for me, but only 1 second, not multiple.
image.png (73,502 bytes)   
image.png (73,502 bytes)   

Chris_McElligottPark

Aug 13, 2024 11:06 am

administrator   ~0069946

Oh, also. If you turn on these two settings shown as gold in the settings menu:
image-2.png (201,937 bytes)   
image-2.png (201,937 bytes)   

Chris_McElligottPark

Aug 13, 2024 11:07 am

administrator   ~0069947

Then this will show up:
image-3.png (137,140 bytes)   
image-3.png (137,140 bytes)   

Chris_McElligottPark

Aug 13, 2024 12:25 pm

administrator   ~0069952

Thanks!

* Drastically improved the performance of several parts of the game, but most notably the turn-change when there were a lot of units.
** Essentially, there was one overarching bottleneck for checking if there were new units to collide against, and it was having a terrible impact on performance even when there were no units to check against. This has to do with the way that the ConcurrentDictionary class that is part of C# works.
** What I've done is made some alterations to that collection, and then also made a wrapper class, so that for my purposes in the majority-case situation (there is nothing in there) it is able to take a lot less time. On my machine, this drops something that took about 1200ms down to 50ms. On some other end-user machines, this was taking multiple seconds, and it's expected that their savings in time would be even greater.

Issue History

Date Modified Username Field Change
Aug 10, 2024 6:14 pm Athena New Issue
Aug 10, 2024 6:14 pm Athena File Added: Saved On Exit Landing Turn 346.save
Aug 10, 2024 6:18 pm Mintdragon Assigned To => Chris_McElligottPark
Aug 10, 2024 6:18 pm Mintdragon Status new => confirmed
Aug 13, 2024 11:05 am Chris_McElligottPark Note Added: 0069945
Aug 13, 2024 11:05 am Chris_McElligottPark File Added: image.png
Aug 13, 2024 11:06 am Chris_McElligottPark Note Added: 0069946
Aug 13, 2024 11:06 am Chris_McElligottPark File Added: image-2.png
Aug 13, 2024 11:07 am Chris_McElligottPark Note Added: 0069947
Aug 13, 2024 11:07 am Chris_McElligottPark File Added: image-3.png
Aug 13, 2024 12:25 pm Chris_McElligottPark Status confirmed => resolved
Aug 13, 2024 12:25 pm Chris_McElligottPark Resolution open => fixed
Aug 13, 2024 12:25 pm Chris_McElligottPark Fixed in Version => 0.581 Turn-Change Performance
Aug 13, 2024 12:25 pm Chris_McElligottPark Note Added: 0069952