Swift Playgrounds causing lag and CPU spikes on new MBP M1 Pro

As a new Swift student, I've been curious about using Swift Playgrounds on my new Macbook (14" M1 Pro).

However, even with VERY basic code, it lags and at times almost makes my whole computer freeze. I can do anything with this Mac, including running Xcode, Simulators, browsers, etc. all at once; but just having Playgrounds open and moving the cursor over the lines of code causes the CPU to spike randomly.

I tried enabling "Hide results" as I read elsewhere, but it doesn't seem to help at all.

I'm confused and a bit disappointed, what am I doing wrong? Is anyone else experiencing the same?

I recorded it happening but I'm unsure if and how I can share a video on these forums.

Up?

Swift Playgrounds causing lag and CPU spikes on new MBP M1 Pro
 
 
Q