Page 1 of 1

[0.16.51] Possible Permfomence Issue With Inserters

Posted: Tue Sep 04, 2018 7:10 pm
by UPS_Eater
Image
The setup I have is a fast underground belt running into a yellow inserter. When the inserter is holding an item the power consumption is steady, but as it travels back to pick up another item, the power fluctuates like mad.

When the fast belt is running along side the inserter, Image the power still fluctuates but not as much.

When viewed at 0.1 speed it can be seen that the inserter stutters as it moves back.
The way I could have it coded would be to test if the inserter is moving then consume x amount of power. I guess between each frame or if the animation is not in one "folder" (for lack of a better word) it would be considered to have stopped and then started again which would cause it to do this. But I don't know if this is how it works and that still doesn't explain why it fluctuates more with the underground belt than it does with the side belt.

I'm not sure what is going on or if this is intentional, but I feel like it on a world with lots of inserters this would have some sort of effect, since power consumption numbers are changing so frequently.

Here is a blueprint:

Code: Select all

0eNrNV9uOmzAQ/Rc/wwo7XAK/slohA5PUKjHINlXTiH/vgFOUrMzGpHnYN8Bmzsw5Z8ZwIVU7QK+ENKS4EFF3UpPi/UK0OEreTs/MuQdSEGHgRAIi+Wm6gxZqo0QdggR1PIf4PqgDr4GMARGygd+koGPwMM6BaxO2HW9A3bzJxo+AgDTCCLDpzDfnUg6nCncWdAmgh0obbkQnMWjfaTFfIhyGCdO3JCBnvMjeknHK5lMYtoQR8iAkLoX1D9DGEYrGNlI6Z2k3lxqMEfKop00KTt0vKAdca5ELaMqpUlw68FZDQOxjW80VtO76HlRY86oFhKy7YVKBRVFATl0z7eBIDvA5oYXUD1clOyejjjLYP0qmQhqhUMZ5Gam4CtQNph8McYDE9yADZqSOCrNuwgpaJ2vRAzAhV7CSeyyjuNR9p8wqEnUjOUKnN6prUMZJVO4Mh6+iyEqJBkq0Xf2z1OIPXK3+CSbzN9f+WW8ZNYDLDnuPRv2iXRJsl/u6HRj5Zjc877zJR17+3j2096rjKPUXjL1aMLplFNmmoq8D954eFpnN9njIZ+xdkm029rqCEo8Wt6C7e5/Ermjp1llkaYqdqWXbuE5uuf6iQfb+Qy1+fqbRfOtQi18mKou2HfrxyplPt6mZr2vJmJ+W+RYl2c6rzOUgXysz3jxQsu/5acOS/zrMUp+zjKUbZ9V35Sp7hqvFSw6u8EN8/mIvbn4UAoLzQtsN+4yxPc2jjI3jX4kCKNA=

Re: [0.16.51] Possible Permfomence Issue With Inserters

Posted: Tue Sep 04, 2018 7:16 pm
by Loewchen
This is simply inserter mechanics at work, the pick up window on an underground belt is smaller so the inserter will fail to grab items sometimes. NaB.

Re: [0.16.51] Possible Permfomence Issue With Inserters

Posted: Tue Sep 04, 2018 8:21 pm
by Rseding91
Also: power draw fluctuating like that doesn't have any impact on game performance.