In all honesty, I don't think cpu has ever been a huge limitation for me outside of gaming. The biggest bottlenecks for me have always been disk speed and memory. My soon-to-be decade old xps 13 gets on well enough, except it only has 8gb of soldered on ram. That absolutely is a bottle neck for me.
Bear in mind, my personal laptop rarely compiles massive projects. I think the last large thing I compiled by hand was wine, and it's been a while since I've done that. Most of the coding done on that laptop are small toy applications to test a language feature. It also helps that golang is lightning fast when it comes to compile times.