I had updated to sonoma earlier today on M1 MBA. Emacs became laggy, scrolling through my config file turned into a choppy mess.
After downgrading back to Ventura, all performance issues were fixed.
How to downgrade (in case anyone needs this in the future)
- 
Create Bootable USB Installer and download older macOS version from app store 
- 
Make a time machine backup 
- 
Reboot into startup options 
- 
Wipe existing drive, install OS from usb 
- 
Transfer files from time machine backup. 


No problems on my M1 Pro