Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Factory panel reduces fps 120 -> 10 in spectator mode

Open Topkack opened this issue 9 years ago • 5 comments

Probably because there is 20 factories. Possibly impacts performance negatively when im playing 1v1 too.

Topkack avatar Jun 26 '17 19:06 Topkack

I don't support factory panel. As far as I know there is no in-menu way to enable the widget so it is classed as "use at your own risk". I have never used or profiled factory panel but it has the same history as other core widgets (core selector, integral, selections) with performance and structure problems that I have only recently solved via full rewrites.

Are you sure this is a new issue? If so then something related to the widget has likely changed and you could probably pile some hax into the widget to patch the hole. If it is not a new issue then more work is required, either put off the inevitable and try to fix it or just start over.

I won't touch factory panel as there many more useful things to do. I would rather that anyone capable of fixing factory panel would do something more useful instead but I can't stop them. Someone who uses factory panel and who can fix it is free to see this as higher priority. PRs welcome.

GoogleFrog avatar Jun 27 '17 02:06 GoogleFrog

Also 120fps is not a good measurement. It means really different things if the drop is from 125 or 280.

GoogleFrog avatar Jun 27 '17 02:06 GoogleFrog

Digression but

there is no in-menu way to enable the widget so it is classed as "use at your own risk"

Newcomers regularly ask about the extra widgets (for example because they see Shadowfury use facbar in his casts) and vets regularly tell tem about the Alt+F11 widget menu but never mention that stuff only accessible thence has void warranty.

sprunk avatar Jun 27 '17 11:06 sprunk

100-120 fps in beginning to 9-7 fps (i played a couple games that way seriously)

Topkack avatar Jun 27 '17 20:06 Topkack

Enable the widget profiler (near the bottom of the widget list) to be sure. The performance hit may show up in the chili framework because factory panel may be doing something awful in chili. Ideally send a screenshot.

Does this occur at all while playing? The ticket title says while spectating but you just said "i played a couple games that way seriously".

GoogleFrog avatar Jun 28 '17 03:06 GoogleFrog