Old email from Travis:
Today I experimented with creating a "thin" IntelliJ project file. Indexing goes from 4min --> 2m40s, or ~33% faster.
The general strategy is rather than having one content root set to buildroot, we have a content root per target. This restricts the files IntelliJ looks at to just the stuff actually used by the target you generated a project for. My "sketch" is a162228 and if we like this approach I can clean things up.
To summarize, with minimal effort we can:
- Reduce project indexing time by ~33% (4m --> 2m40s) by limiting the stuff intellij looks at.
Old email from Travis:
Today I experimented with creating a "thin" IntelliJ project file. Indexing goes from 4min --> 2m40s, or ~33% faster.
The general strategy is rather than having one content root set to buildroot, we have a content root per target. This restricts the files IntelliJ looks at to just the stuff actually used by the target you generated a project for. My "sketch" is a162228 and if we like this approach I can clean things up.
To summarize, with minimal effort we can: