Hmm. I’ve never ran into that myself and I’ve used a lot of swap on my 8gb M1 Air, so you may be running into another issue, but one thing I have noticed is that performance is far better with native Apple apps. I switched to using Slack in the browser and Safari as my main browser and battery life and performance have been amazing.