Logistics Pipes

Logistics Pipes

13M Downloads

LP is slow at startup

AartBluestoke opened this issue ยท 6 comments

commented

a) the new PacketHandler code takes 2/3 second to initialize, which is almost all the non-forge time in the fmlModConainer.constructMod. (the rest is reflection and hard to localize to a specific mod)
Loading the LP packetHandler takes quite a while, for some reason. (LP is the
image

b) also on post-init, LP is slow, holding 3rd place.

(edit: misplaced issue about rs485/nem removed)

commented

I don't think there is a way around a), unless we revert all the packet changes

commented

could we limit our class loader to only load specific classes on demand, rather than re-parsing all existing classes?

commented

Could you put these benchmarks somewhere?

commented

yeah, just need to re-capture them, computer crashed resuming from sleep, and the capture those screenies are from didn't get saved.

commented

https://docs.google.com/file/d/0B84ffYKLW6CPRHB5bEJTMm5OYzQ/edit?usp=sharing - 600ms spent that startup; the first few seconds of capture are missing, I believe that sampling starts during the "Activating mod" message set at the begining of forge mod loading (5 or 6 seconds afteer the true start of MC)

commented

new packet handling system makes this profile irrelevent