When profiling source queries, I've found huge number of project.getCodeNameBase() calls. They come from processing test
dependencies. It seems that simple fix can reduce this number and improve API support project opening up to 20%.
Created attachment 77196 [details]
Recursive calls I.
Created attachment 77197 [details]
When applying simple patch - getting name outside the loop
The pictures show the situation when java.source modules and its dependent projects are opened.
Integrated into 'main-golden', will be available in build *200903021401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Pavel Flaska <firstname.lastname@example.org>
Log: #158881: reduce number of recursive calls