FloodLights

FloodLights

1M Downloads

TileEntityElectricFloodlight causing 1100ms+ TPS spikes and 22 second can't keep ups on the server

mskurnik opened this issue ยท 3 comments

commented

After getting 22 seconds worth of constant can't keep ups, I used the VisualVM tool to check what was causing the lag. The entries below are causing an insane amount of lag

de.keridos.floodlights.tileentity.TileEntityElectricFloodlight.removeSource() 70.46779 918 ms (70.5%) 241
de.keridos.floodlights.tileentity.TileEntityElectricFloodlight.addSource() 16.666641 217 ms (16.7%) 57

commented

I think I encountered this issue in my local environment as well, already working on a fix for this.

commented

Test this build please: https://www.ironhide.de/jenkins/job/FloodLights/108/

Should fix that issue.

/edit: Wrong link, corrected now.

commented

Well I just put 107 on there and that seemed to fix it. I'll update to 108 later tonight. Thanks!