Help solving performance issues

I'm not sure if this is still ongoing or not, but I have the same issue with tanking FPS. I am using either of two plugins MOG Weather FX or Galv Layer Graphics to handle parallax scrolling of relatively big png files (clouds, distant mountains).
Technically, the longer I stay on the map with parallax graphics or the longer they are in use (MOG is handling them as weather effect 34 i think, GALV just handles them as layers), and then change to a map that has no parallax items, but lighting and tinting... FPS drops to 2-3. If I "shrink" the maps (from 250 x 15 to 30x15), then the drop in FPS is not seen (130-150 FPS). If I go back to 250x15, again 2-3 FPS. If I create few smaller maps (50-80x15) that use the same parallax graphics and I just move between them, I will still get 2-3 FPS or maybe a bit more, but if I just sit on one of those maps and then jump right into the one with lights and tints (community lighting plugin), the performance improves.

I suspect there might be some leak with how these are constructed, but I am no JS programmer to find where that is. It seems like with each tick something is compounding somewhere. No "image cache" clearing plugins managed to sort any of this out...

I have a relatively high performing PC with RTX3090, so by no stretch of imagination it is my hardware's fault. I also updated NWJS to v84.0... No go.

If I get rid of the parallax effects altogether, I have an astounding performance of typical 140-150 FPS with a sad choice of getting rid of that part of the game altogether... 🙁

Looking through forums doesn't really help, because people are stabbing in the dark. I hope my observation will help with that stabbing a little. Beacuse I still need help with that... I'm sad to let go of this parallax scrolling (is how I wanted my character to travel between locations and have an interactive "avoid the event or it will smash you" gameplay while at it...

1711585325142.png

Arayell​

im using those plugins need to put them in order to work Q plugins not important if you not use them
yes ShoraLighting improved my game to... and particle emitter,
because i added some files to game folder witch have some better coding
need to make spaces in Plugins like you see in pic and put them until everything works nice... some plugins need to be deleted. and some things make lag in your game
jghjghj.jpg

Arayell​

im using those plugins need to put them in order to work Q plugins not important if you not use them
yes ShoraLighting improved my game to... and particle emitter,
because i added some files to game folder witch have some better coding
need to make spaces in Plugins like you see in pic and put them until everything works nice... some plugins need to be deleted. and some things make lag in your game
View attachment 299936
Thanks Ziorke - although I am using a completely differet set of plugins for range of other purposes, I have modified the order to reflect what you have, unfortunately, to no effect.

Again - I have done some troubleshooting (turning things off, testing, on, testing, changing event code, testing, replacing plugins, testing, rearranging maps, testing...) and what I wrote was a narrowed-down suggestion that something is not right with handling of picture files... It might be that I must rearrange event sequences, e.g., turning off parallax before I transport the player, or trannsport them into a map that has no lighting first and then to the one with lighting... I guess I will have to find my own solution.

Original thread: https://forums.rpgmakerweb.com/threads/help-solving-performance-issues.167244/