Multi-threading in IDEA Follow
I'm just curious, since my office just installed my new dual 3GHz
How much threading does IDEA do? Is it able to take full advantage of a
machine like mine?
Please sign in to leave a comment.
I don't know about it taking "full" advantage, but it certainly does run
a lot of processing in background threads and generally benefits from a multicore
CPU. I have a Core i7 running at 3.6GHz with 6GB RAM and IDEA absolutely
flies on it.
Per the release notes, one of the improvements in IDEA 7 was "Improved performance on multi-core CPUs". I recall there was discussion on the forums here in which JetBrains indicated they optimized a lot of the code to take advantage of multi-core CPUs. I beleive there were also some improvements on that front in IDEA 8 as well.
What's confusing me is that when the idea has heavy work to do .(e.g. gradle sync)
But the CPU about my MacBook pro 2018 still in 90% not use state.
Gradle sync often involves downloading dependencies and is also single threaded, so it's not a CPU intensive task.
Project indexing, inspections, compilation can run on multiple threads and utilize your CPU fully.