Industrial Foregoing

Industrial Foregoing

95M Downloads

Stonework Factory high CPU usage

OrdinatorStouff opened this issue ยท 0 comments

commented

Industrial Foregoing Version: industrialforegoing-1.12.2-1.6.6-113.jar
TeslaCoreLib Version: tesla-core-lib-1.12-1.0.12.jar

On official ATM3 server, a VisualVM profile over a ~25 minute period shows MaterialStoneWorkFactoryTile.performWork() is taking 9.3% of server thread CPU time. BloodDebug counts at the time profiling started shows there were only 76 loaded, ticking StoneWork factories which is a normal ammt considering the number of players on the server and active at the time profile was taken.

Since it looks like the Stonework Factory is consuming the wait time from looking up all other mod's recipe handler functions (assumption based on profiler results tree), this might not be as obvious concern on smaller modpacks.

image
snapshot-1517243525858.zip