"StackModifier (1.7.1), Total Hook Time = 1164"
Any way to make this more performant? Thanks
Top hook time across 100+ pluginsNot An Issue
lol, it's going to take time when it loads to apply the settings. so no.
1164 is an insanely high hook time and load times barely attributes to it. just gonna leave this here, and its not the only high end moderately modded machine this is happening on btw
Calling 'OnItemSplit' on 'StackModifier v1.7.1' took average 1822ms
Calling 'CanStackItem' on 'StackModifier v1.7.1' took average 1975ms
Calling 'CanStackItem' on 'StackModifier v1.7.1' took average 2057ms
Calling 'CanStackItem' on 'StackModifier v1.7.1' took average 1975ms
Calling 'OnItemSplit' on 'StackModifier v1.7.1' took average 1870ms
Calling 'OnItemSplit' on 'StackModifier v1.7.1' took average 1864ms
Calling 'OnItemSplit' on 'StackModifier v1.7.1' took average 1866ms
Calling 'OnItemSplit' on 'StackModifier v1.7.1' took average 2127ms
Calling 'OnItemAddedToContainer' on 'StackModifier v1.7.1' took average 1962ms
Calling 'CanStackItem' on 'StackModifier v1.7.1' took average 2098ms
Lol, that's easy to do when you use other plugins to cause it.
it's not other plugins. i specifically stated moderately modded on a high end machine for a reason
Tested this theory with only StackModifier...same result with it being the only plugin running.
I went back in the performance logs from before all the GUI code was added and everything was sub 200ms for hook times.
is there a way to set a flag or remove the entire GUI from this plugin? I don't use it anyway. Thanks
You can enable or disable the GUI inside the config, its a true/false toggle & has no performance difference with or without the UI system.
( set to false, save & reload plugin for it to take affect )