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.
The JSFBinaryIndexer which uses ConstrainedBinaryIndexer registers very expensive predicates. It registers no required resource with combination with expensive mime type (the XML mime recognizer needs to read the content of file). What the JSFBinaryIndexer needs is to test that resource.getNameExt().endsWith(".taglib.xml").
The possible solution is to extend the ConstrainedBinaryIndexer.Registration by file name pattern predicate.
The problem cannot be reproduced in J2SE IDE even the JFXBinaryIndexer is a part of it. The slow mime recognition "feature" is activated with J2EE cluster. With J2SE cluster only the times for name pattern and mime type are the same. With J2EE cluster the name pattern is significantly faster. Mime type recognition: Complete indexing of 51 binary roots took: 8113 ms Complete indexing of 51 binary roots took: 7816 ms Complete indexing of 51 binary roots took: 7818 ms Rewritten to name pattern recognition: Complete indexing of 51 binary roots took: 698 ms Complete indexing of 51 binary roots took: 1105 ms Complete indexing of 51 binary roots took: 1193 ms
Fixed jet-main 955842fb95d4
Not approved to NB 7.1 by QA, scheduled for patch release.