One might end up in a situation where for developers the older generation cpu being cheaper and more available might make more sense.
I wish somebody really did some suitable benchmark suite for developers.
If I ever get to do local-machine development again, the choice of laptop vs. desktop really depends on how build times compare, and which platform has Intel CPUs with the required ISA extensions.
Single core compilation is actually a fairly good metric for general purpose performance. Of course it scales almost linearly with core count too.
What matters to me is the ISA extensions that are needed by the software I'm building, typically DL or HPC code. Life is easier when I can build and test the software on my local machine, without having to involve some fancy new server.
also, c++ compilation doesn't scale perfectly with more cores. linking is still single threaded, AFAIK.