reading through some comments I'm kinda stunned. I came here cuz I felt like safari was glitchy. or may be they're actually having a defective system. probably you guys ask for a refund. man.
or an installed software might be affecting the performance too. I've lot of apps installed on this machine. its 5months old. only 90GB free of 256GB. 10+hours of daily usage. still I noticed its not smooth only when using Safari.
probably what I'm experiencing will be fixed. until them I will be sticking with Chrome. . I guess It has nothing to do with peripherals cuz even using built-in trackpad and still there're stutters when using safari. I tried same webpages in Chrome and its super-smooth. hence I'm sure it's not a hardware limitation. obviously M1 has the power. It compiles code, builds projects like crazy. faster than the i9 16" mac.
so probably there's something which needs further development in safari or it might not be optimised for a certain framework.
if you're using 3rd party mouses make sure there're no compatibility issues. I develop apps and use Xcode as well. it runs both iOS and android simulator simultaneously. (with many other apps running in the background including chrome and safari.) its fast and no heat at all even though there is no fan.
I have a M1 MacBook Air base model (8GB, 256GB) btw. I was willing to buy a mouse but man, the trackpad is so amazing and nothing like I've used before. then I decided to not to buy any mouse.
furthermore take a look at https://chromeisbad.com
sometimes the chrome cause issues with Macs. even with intel macs.