Don’t touch Xcode then, it welcomes you to paging hell.
or perhaps it's not 'paging', and just dumb luck I hit and see beachballs on multiple new higher-end macbook pros regularly.
And one tip is to use the right hand side USBC ports for charging, not the left hand ones as for some reason or other they tend to cause the machine to heat up more...
thx for tip.
On my machine it is true that charging on the right is better. Charging on the left spins up the fan.