MZ Lag during Fights: How do i analyse performance with DevTools?

Currently, I face the issue that during a fight suddenly the frame rate drops by a pretty significant margin, but I cannot find out what the source of that lag actually is. It seems like i somewhere messed up with my JS tags or something like that, but it's impossible to find out what exactly is causing it. The only thing i know is that 95 percent of the time the game seems to be concerned with some scripts.

PS: I am using the Visustella mz engine, so it's a plugin problem in some way, but I still assume the error is somewhere on my part.
I would say:
1 - try a battle with your plugins turned off, verify it is a plugin issue

2 - start turning plugins back on until you narrow down what causes the lag

3 - post any notetags or settings having to do with that plugin
I would say:
1 - try a battle with your plugins turned off, verify it is a plugin issue

2 - start turning plugins back on until you narrow down what causes the lag

3 - post any notetags or settings having to do with that plugin
OK so I narrowed the problem down a bit, and it seems like the setting "Visable Status Gauge" in the AggroControlSystem is the cause of the issues. if its true, the lagging automatically starts to appear. Which is kinda weird, because the Battler gauges do the same thing only at a different place.
To answer the question from the title: here's a tutorial on the basics, I do highly recommend learning them.
Though admittedly this might not be very effective if the problem is inside an obfuscated plugin.
Which is kinda weird, because the Battler gauges do the same thing only at a different place.
the difference is probably the update frequency.
A lot of the default functions are optimized in that was that they only update the display if the value has changed.
your description sounds as if that plugin is programmed to always update, and that will create more lag. But the only way to change that is to reprogram the plugin.

Original thread: https://forums.rpgmakerweb.com/threads/lag-during-fights-how-do-i-analyse-performance-with-devtools.162704/