hi, i always had this issue in my pc whenever i play minecraft with mods, no matter if i only add 1 or 2 mods, i always have these annoying lag spikes everytime i play, my pc's cpu might not be the best, but i have some friends with worse pc's than mine and modded minecraft works perfectly fine in them.
Maybe is some configuration error within my pc or game, whatever the case is, i have this spark profile i created earlier so i can get some help from you guys
https://spark.lucko.me/5TP6FrIpS1