MV Yanfly's Equip Core Heavy Lag

Hi there.
I did something simple, added Custom Parameters through Yanfly's Equip Core, made it add Attack from a portion of Agility,
<Custom Parameters>
atk = Math.round(a.agi / 10)
</Custom Parameters>
And now my game is lagging like hell each time I open the Equip menu.
How can I fix that and what even causes it to lag so much
do you by chance have a similar effect that gives the battler agi based on their atk? if you press f12 and open up the console tab, does it mention any errors? youve made sure that your yanfly plugins are installed in the correct order?
That notetag alone should not be able to cause any lag.

either you have a logic loop with a recursive definition (that's what the post above is trying to find out), or the problem is somewhere else.

Does it ONLY lag on the equip screen or does it lag somewhere else?
Do you have one of the plugins for a scene interpreter or menu interpreter to run events on the menu screens?

And it would help to get screenshots of your plugin manager with all your plugins and their order listed.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-equip-core-heavy-lag.177213/