Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.9.1a is out! (05/10/19); Blog post: Skills and Story Points (07/08/19)

Author Topic: [0.8.1a-RC8] Performance issue on tactical screen.  (Read 680 times)

TJJ

  • Admiral
  • *****
  • Posts: 1826
    • View Profile
    • Email
[0.8.1a-RC8] Performance issue on tactical screen.
« on: September 22, 2018, 03:16:37 PM »

Frame rate on the tactical screen doesn't recover as ships are destroyed, in fact it gets worse.

Steps to exaggerate reproduction:

1) Increase settings.json maxBattleSize to a large value (5000)
2) Increase battle size to max.
3) Increase fleet FP in random battle mission to something like 500 FP per side.
4) Play out battle.

I see performance something like this:



As the battle progresses, tactical screen fps doesn't recover in the same way the combat frame rate does.
Moreover the difference between paused state, and running state on the tactical screen degrades to the point where they're almost the same.

That says to me that there's something leaking in the tactical screen rendering.
Further reinforcing this, is that "idle" is well above 0% when the tactical screen fps is tanking.

Ryzen [email protected], GTX 1070.
« Last Edit: September 22, 2018, 04:47:50 PM by TJJ »
Logged

TJJ

  • Admiral
  • *****
  • Posts: 1826
    • View Profile
    • Email
Re: [0.8.1a-RC8] Performance issue on tactical screen.
« Reply #1 on: September 25, 2018, 05:35:52 AM »

Is more info needed? or a better explanation? screenshots?

It's quite trivial to reproduce, is (as far as I can tell) agnostic of hardware, and might point to a fairly fundamental performance leak.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 15228
    • View Profile
Re: [0.8.1a-RC8] Performance issue on tactical screen.
« Reply #2 on: September 25, 2018, 09:27:12 AM »

Sorry I haven't responded - been a bit of a hectic day yesterday. I seem to recall fixing an issue with icons in the warroom map not getting cleaned up, but am not 100% sure and haven't had the opportunity to verify whether this still happens or not.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 15228
    • View Profile
Re: [0.8.1a-RC8] Performance issue on tactical screen.
« Reply #3 on: September 25, 2018, 10:42:55 AM »

(Double checked: yep, looks like it's fine now. Thank you for the report, though!)
Logged