4 ms·
Well, It's a multi-threaded program, and when you create a project it will start out by indexing everything. So while it's doing that, it can spend quite a lot
by Erwin 13y ago
Well, It's a multi-threaded program, and when you create a project it will start out by indexing everything. So while it's doing that, it can spend quite a lot of CPU time -- "top" etc. typically show the CPU time spent by all the threads in a process, so you can easily see it go up to N * 100% based on your cores.
That can get occasionally annoying, if you drop in a a bunch of 1mb text files in your repository and it insists of examining them.
But, introspection and refactoring capabilities are great.
- EdwardDiego 13y ago> That can get occasionally annoying, if you drop in a a bunch of 1mb text files in your repository and it insists of examining them. You can right click the directory and mark it as excluded from the project. We have an integration test suite that likes to emit gigabytes of XML into its local directory - which IDEA happily tries to index. Excluding it saves me a lot of CPU time.