Slow spikes and Lag

The game gets these spikes where everything kind of just slows down, and it lags up. It's really frustrating, especially when I'm trying to fight bosses, which is when it really starts spiking.

I'm running calamity, infernum, and some qol, mainly magic storage. I can post my mod list, but I've tried reducing the quality of stuff, I tried messing with frame skip and graphics card. I'm really not sure how to fix it, or if it can be fixed. But if someone can help that would be fantastic.
Was this page helpful?