Xcode editor performance

I am wondering if anybody else has encountered issues with performance of the editor in Xcode. I am running on a Mac Studio machine with an M1 Ultra chip and 128Gb memory, and don't have a whole lot of other applications opened. Sometimes the editor performance becomes painfully slow and choppy, to the point where just moving the cursor around takes several seconds. Completely shutting down Xcode, and even deleting everything in DerivedData doesn't seem to help, though rebooting my Mac will clear it up for a while. The issue seems to pop up randomly ... sometimes doesn't happen for days, sometimes happens within minutes of rebooting and trying again. Activity Monitor doesn't show anything eating up memory or Cpu time. Turning off 'live issues' in preferences also doesn't seem to have any effect.

Anybody else experience this, and any ideas as to how to avoid it?

Xcode editor performance
 
 
Q