BlockProt icon indicating copy to clipboard operation
BlockProt copied to clipboard

[Bug]: Plugin causes server lag

Open CaesarGalahad opened this issue 1 year ago • 4 comments

Version of BlockProt

1.2.1,leaf1.21.1

Description of the bug

Plugin causes server lag HopperEventListener causes severe lag

SERVER INFO BlockProt version 1.2.1 Server version leaf 1.21.1

INFO a402bf36c247c806fa28899061dfe0e3 a402bf36c247c806fa28899061dfe0e3 26384d767051c77fadeb9fcf32565936

Steps to reproduce

Plugin causes server lag HopperEventListener causes severe lag

Additional context

No response

CaesarGalahad avatar Aug 31 '24 06:08 CaesarGalahad

Yes, I know, it's not really optimized.

The only way to fix this is by rewriting the core of the plugin to use a slightly different mechanism for reading/writing data which should drastically help with performance. However, I just don't have the time to write that and test it, mostly because I have more important things to look after and I don't get anything from this project. I am currently only fixing bugs and updating to new versions, since that's fairly trivial.

I'll still leave this open as it's a valid issue that needs to be worked on in the future.

spnda avatar Aug 31 '24 10:08 spnda

Same here, it seems to only happen when hopper minecarts are sucking items from a chest. Brings down server TPS from 20 to 16. Screenshot 2024-09-03 at 10 43 58 AM

mrchilliballs avatar Sep 03 '24 15:09 mrchilliballs

I recorded a video of a super smelter becoming a literal toggle-able lag machine: EDIT: The link died

mrchilliballs avatar Sep 03 '24 15:09 mrchilliballs

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 03 '24 02:12 stale[bot]