This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
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.
2dcb6756f53a
Integrated into 'main-golden', will be available in build *200903021401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2dcb6756f53a User: Pavel Flaska <pflaska@netbeans.org> Log: #158881: reduce number of recursive calls