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.
COS Indexer calls slow project queries (BinaryForSOurceQuery)
The CosIndexer cannot be delayed but the various project queries can be made faster.
Most of the time is spent in BinaryForSourceQuery.DefaultResult.getRoots() which needs to do quite expensive calculation. 90% of CosIndexer is spent there. Adding BinaryForSourceQueryImpls for NbModuleProject and Maven resolves the problem.
Integrated into 'main-golden', will be available in build *201202240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f0a3dcb4610f User: Tomas Zezula <tzezula@netbeans.org> Log: #206024:CompileOnSave Indexer calls slow project queries
All blocking issues are fixed.
Integrated into 'releases', will be available in build *201203222205* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/52755cf5faea User: Tomas Zezula <tzezula@netbeans.org> Log: #206024:CompileOnSave Indexer calls slow project queries
Tomas, is this fixed in 7.1.2 intentionally ?
This is an umbrella issue. The maven fix was marked as 71patch2 and transplanted. The other 2 issues are not marked and probably should not be. One affects only NB developers, second does not fit into 7.1 as it changes class which was significantly rewritten in 7.2
(In reply to comment #7) > This is an umbrella issue. > The maven fix was marked as 71patch2 and transplanted. The other 2 issues are > not marked and probably should not be. One affects only NB developers, second > does not fit into 7.1 as it changes class which was significantly rewritten in > 7.2 Ok, thanks for explanation.