UE5 UI sometimes laggy

Frequently, my UE5 UI freezes up. Noticeable when moving around in the viewport. FPS seem to jump between 10-90, but navigating feels more like 1FPS. Then suddenly it all starts working smoothly again and the FPS stays locked at 120FPS. And then when it feels like it it will go back to being laggy. This is seemingly randomly changing states. My PC resource usage doesn’t change at all when this transitions. CPU 2% util, GPU 15% util, memory 15%. Has anyone run into this/have any suggestions of what it might be?

Turns out the culprit for making UE5 super laggy was the Experimental Live Coding Feature. I noticed accidentally that the resource usage graph in VisualStudio 2022 had the same stutter.