Closed wormzjl closed 6 years ago
Seems to be the toxic mutation process causing this. Probably set something wrong, been trying the way to make it less invasive avoiding the WorldTick. I'll give it a look. The entire feature is still in progress, is it so heavy to require an immediate hotfix to disable the feature?
Yeah when I enabled this I guess that there will be some sort of problem, I'll disable it for now.
I actually remembered there was a better way of doing this without involving the event. Will test it as I get a free hour and possibly push an hotfix.
Seems that even with "enable hazard"=false it's still on the profiler with 18% ticktime
did you tried v3.22. that method is no longer used
Great, it's no longer on the list However I haven't tested with pollution enabled, so you might want to take a look at its performance
I've started a server with RH chemistry, but the TPS was pretty low so I checked it with a profiler. From the profiling result I found that com.globbypotato.rockhounding_chemistry.handlers.GlobbyEventHandler.onWorldTick() is using a lot of cpu time (17% in total) even if players haven't made anything related to RH yet. I have hazard and pollution enabled in config.
Here is the full profiler result if you are interested: https://sparkprofiler.github.io/?11vRsUXu8m