Lately in a game I started recently, while the FPS/UPS is normally great most of the time, but sometimes it will "stutter" for 5~20 seconds, with terrible lag spikes where the screen looks frozen for 1~2 seconds at a time. These stutters seem to get even worse while either biters are attacking, or I'm near my defense walls. I used the debug (F4) screen to show the use time, and it seems whenever these lag spikes occur, the usage for RampantFixed goes up very high, so I think it may be related.
This game has been going for about 45 hours, and uses Krastorio 2, RampantFixed, and a few simple QoL mods like Helmod, FNEI, etc.
Any ideas on things that could be causing this / things I could do to help? I've already disabled the Biter Blood animations, and also lowered the Difficulty & Temperament settings to 0.25 since I was totally unable to keep up the Rampant enemies using essentially vanilla weapons / defenses (I'm a long ways from unlocking any of the powerful Krastorio 2 weapons / turrets).
Here is my save file in case it could be checked. For an example, upon loading the save shoot the nearby nests to the west with the sniper rifle, and notice the spikes of lag / stuttering / freezing.
Save file: https://file.io/FmIdqGY9gxAy
(Also, unrelated question: Is there a way to change the behavior of the AI in Rampant, fixed so that when I attack a biter / nest / hive, it only causes biters in that area / region to become aggressive and attack, instead of making all biters everywhere on the map all start attacking all parts of my base at once anytime I attack any biters?)