Which CPU is best for compiling or debugging?

A lot of time spent on developing in Unity is waiting for compilation to end after changes, or waiting for the debugger to be prepared.
My question is… which CPU is best to shorten the time waiting for those operations?

We use the 3950x and it has the benefit of a huge cache coupled with many cores. Though I would wait for new CPUs now, it’s old.

My main driver is a 4th gen i7 and its still working fine and pretty snappy in terms of compilation and debugging.
Are you using something even older then that?

If you’re asking which is the absolute best, well, it would be whatever is the current best CPU available on the market… probably the current gen intel i9 or amd 39 series mentioned above.

Yea, I am not sure many cores is better or a strong single core frequency.
Sometimes Unity is taking it’s sweet time to just prepare the editor for debugging. I wonder if it’s because it’s using mostly single thread, becuase I don’t see my Ryzen 7 2700X Usage increase almost at all.

I had a Mac Book Pro from my work and the performance with the i9 there for compilation in xCode was impressive.
So I wonder…

Is AMD really better for compilaiton than Intel or vice versa? For instance.
Somehow I had the sense that my Ryxen 7 2700X is pretty beefy, but even on my 2D game, waiting for the debugger or waiting for an update for alittle change in a script, seems to be a bit disappointing.

I don’t understand why these things shouldn’t take less than a second.
It’s not a full recompilation,.

Unity sees benefits from both. Creating builds, compiling, importing, lightmapping, etc can take advantage of multiple cores. Just about everything else is single core dependent.

There is a third factor you need to take into consideration when comparing CPUs. Intel’s 10900K comes with a 20 MB cache while AMD’s 3900X and 3950X come with 70 MB and 72 MB respectively. I remember when AMD launched these chips that the reviewers had to change their compilation benchmarks because the tasks they were running fit within the cache and the difference in performance was insane.

1 Like

Not having enough RAM caused an unspeakable amount of “waiting forever stress” before my current laptop, especially during a build… system runs low and hits virtual memory and it’s time for a nap. I’d say get at least 16GB. I routinely have 9GB usage with my workflow (Unity + VS + WAMP + GIMP + misc) …I can imagine for someone also using Blender/ Maya/etc. at the same time that might not even be enough.

Another major bottleneck I’ve survived - with my previous system’s HDD, there were times the activity LED would go solid and stay that way for a while, lagging everything even though CPU was pretty much at 0%. That was almost surely exacerbated by what I said in the first paragraph but still worth a mention. This laptop has an SSD and the difference that makes could almost bring tears to your eyes.

For processor, I’ve got nothing to add… currently using Ryzen 7 4800H, no complaints.

It’s not too bad for me… I just want better, or make a better choice with my next PC. Whenever that will be…
I mean, waiting for compilation or debugger is really demotivating at times. Especially if I just do something else like look at youtube or reddit even for a moment.

I don’t really have an issue with RAM, and have an NVME SSD.
Sometimes, don’t recall if in Unity, it seems like because I also have an HDD, the HDD sometimes wakes up from it’s nap, for no apparent reason. Something I guess is trying to access it, but it is not always obvious why. I mean, I need to figure if it actually access something from the HDD.
But that is rare most of the time.