I have an M1 Pro and an M2 air. I still prefer the speakers on the 14 inch Macbook pro, but honestly I haven't noticed a performance gap even when both my laptops were M1.
Day to day, even with heavy coding and video editing neither have skipped a beat. The Macbook pros (in general) have higher sustained performance.