I used an intel macbook pro with an older version of Mac Os that had lots of background processes and features disabled just to get the performance I wanted.
My M1 Air was noticeably faster even with spotlight indexing and a massive build inside a virtual machine out of the box.