Long build times when changing scripts

I’ve tried assembly definitions, followed tutorials, but my building time doesn’t speed up. This is the case for small to large projects I’ve worked on.

The only bad component in my build is my i5-10400f. I am considering to get a i5 14500, but is cores or clock better for unity?

P.s. if I can use a gpu or cheap server to build faster, let me know