The best CPU for IDEs

Answered

Hello,

I want to buy new CPU for my PC, and I don't know what is more important for IDEs, per-core performance or multi-thread performance? I.e. Alice's CPU has 20% more per-core benchmark score, and Bob's CPU has much more cores. Which should I buy?

4 comments
Comment actions Permalink

Hard to say, both are important. Some operations are single threaded, others can be paralleled. The more cores you have, the faster IDE will index your project and the faster it can build multimodule projects.

For single module projects compilation is not parallel, so faster core would be better.

Anyway, any modern CPU should work just fine. If you have huge several GB projects, I'd go for more cores (considering you also have very fast I/O, like top of the line M2 drive, so that it's not a bottleneck). Intel Turbo Boost will also help with the demanding single thread use cases.

3
Comment actions Permalink

I have single-module project, but build process takes all 4 cores of my current CPU at 100% usage

0
Comment actions Permalink

Thanks for the insights, Serge. Does JetBrains provide performance benchmarks for IntelliJ with a predefined set of tests (indexing, downloading dependencies, compiling code, etc.) and different PC setups?

I would like to know if a CPU with 64 processing threads can outrun a CPU with 16 processing threads when it comes to indexing speed. I would also like to know what's the impact of a PCIe 4.0 SSD (4950 MB/s read, 4250 MB/s write) over a SATA 3 SSD (550 MB/s read, 520 MB/s write) when building a project.

0
Comment actions Permalink

We do not provide the benchmarks. It would depend on the project/files being indexed and I/O performance. If the task is not I/O bound, indexing would be faster on 64 threads. It also depends on the OS and the file system. Linux file system is usually much faster than Windows and macOS and if your project has a lot of files, file system performance impact can be more significant than your hardware.

0

Please sign in to leave a comment.