On the issue of game FPS count

My English is not good, so many of the following words come from Machine translation. I'm very sorry.But I still earnestly request someone to help me.
Since I learned how to use combat related plugins by YEP,such as YEP_SkillCore,YEP_AutoPassive,YEP_BuffsStateCore,and so on.I have set 6-7 permanent passive states for every actionable character I give.Then my game frame count began to fluctuate significantly,especially in battle.
My computer configuration is very good, so I can confirm that this is not an issue with my computer configuration.
I can have up to four characters play in each battle, and I believe the state and skills I set are not complicated (most of which are modified from the YEP example).I don't think these states and skills will cause such significant frame rate fluctuations on my computer.
However, the fact is that there is a significant fluctuation in the frame rate every time a character takes action, and even during non battle situations, there may occasionally be a sudden decrease in frame rate and a sudden return to normal.
On the Chinese forum, someone told me that this is because YEP_AutoPassive.This plugin can easily cause a decrease in frame count.But I really need this plugin, abandoning it is almost impossible,and I really don't think the state and skills I set will cause frame rate fluctuations to be so severe.
It seems that no one has solved this problem on the Chinese forum, so I came here for help. I sincerely request someone to give me some help to solve this problem.
can you give us a few numbers?
What is your regular FPS, and to what number does it usually drop?

And please go to your project directory to the js subfolder and use a text editor to open the rpg_core.js
What is the version number at the end of the title line? No number means 1.0


That said, anything ... passive works by monitoring the play waiting until a condition is met and then trigger it - and that monitoring always creates lag, no way around that.
The only way would be to reduce the monitoring by using better conditions and other tricks, and that is not easy.
can you give us a few numbers?
What is your regular FPS, and to what number does it usually drop?

And please go to your project directory to the js subfolder and use a text editor to open the rpg_core.js
What is the version number at the end of the title line? No number means 1.0


That said, anything ... passive works by monitoring the play waiting until a condition is met and then trigger it - and that monitoring always creates lag, no way around that.
The only way would be to reduce the monitoring by using better conditions and other tricks, and that is not easy.
In a testing environment, the FPS is usually around 160, but after entering combat, the frame rate will start to fluctuate, especially when the character or enemy releases skills, the FPS fluctuation will be greater, usually decreasing to around 40, and then the FPS will start to rise again.

The RPG Maker MV version I am using is 1.6.2, YEP_ The version of AutoPassiveStates is 1.17.

I tried to solve this problem as much as possible by optimizing the code in the state annotation, and it did have some effect. The fluctuation of FPS is not as large as before, but I still worry that adding other passive skills in the production process in the future will lead to a decrease in FPS.

Through browsing the forum, I learned that optimizing this issue is quite difficult, but I still want to know if there are other ways to slightly solve this problem besides directly deleting completed passive skills.

Thank you for helping me answer the question 😀
Then the only suggestion I have is to post the passives that you think are causing the most lag to check if someone here knows a way to optimze that you might have missed.
Then the only suggestion I have is to post the passives that you think are causing the most lag to check if someone here knows a way to optimze that you might have missed.

Thank you very much for your suggestion. I have made modifications to the parts that I believe may have problems, and have indeed improved the frame rate fluctuation. Although there may be problems with the remaining parts, I am not sure about this... In summary, thank you for your help!

Original thread: https://forums.rpgmakerweb.com/threads/on-the-issue-of-game-fps-count.159203/