CPU advice?

At work we use the i7-11800H with and we are running without issues and at home I still have the i7-4790 which has 8 thread and I did not have problems developing with it (4Ghz). For compilation time going to an i7 should speed up actually.