Significant UPS drops when quickly hovering over entities
Posted: Wed Aug 02, 2017 7:12 pm
Hello,
I'm playing a modded game with around 145 Factorissimo surfaces. The game runs fine most of the time (60/60), but it sometimes stutters.
I've noticed that stuttering happens when I move my mouse across different entities. Quickly moving mouse around entities (of any type) causes "Chart Refresh" to take the vast majority of the update time. The debugging option shows that "Chart update" normally is around 0.2 ms, but it rises to 10 ms with peaks of 25 ms when quickly moving mouse around various entities. This causes quite visible and annoying stutter. The rest of the game takes 7 ms to update even with all the mods included. The problem seems to get worse the more surfaces there are. I have several saves of my game and the Chart Refresh time rises seemingly linearly with the amount of surfaces used.
Is this the intended behavior? As right now it seems that Factorio keeps traversing all the surfaces for some reason as soon as I hover on some entity.
Factorio version: 0.15.32
I'm playing a modded game with around 145 Factorissimo surfaces. The game runs fine most of the time (60/60), but it sometimes stutters.
I've noticed that stuttering happens when I move my mouse across different entities. Quickly moving mouse around entities (of any type) causes "Chart Refresh" to take the vast majority of the update time. The debugging option shows that "Chart update" normally is around 0.2 ms, but it rises to 10 ms with peaks of 25 ms when quickly moving mouse around various entities. This causes quite visible and annoying stutter. The rest of the game takes 7 ms to update even with all the mods included. The problem seems to get worse the more surfaces there are. I have several saves of my game and the Chart Refresh time rises seemingly linearly with the amount of surfaces used.
Is this the intended behavior? As right now it seems that Factorio keeps traversing all the surfaces for some reason as soon as I hover on some entity.
Factorio version: 0.15.32