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.
this is placeholder for record purposes. Using precompiled XPath statements can, supposedly in cases where the query is executed frequently enough to provide a valid reason for a trade-off with increased, even when temporary, memory storage by precompiled query size amount, significantly improve performance time-wise (as well as possibly memory-wise by reducing memory thrashing). An experiment with replacing of simple query ("/XMI/XMI.content/UML:Project") by precompiled version (Dom4jXPath) of it in the very frequently executed getProject() method in uml/core/src/org/netbeans/modules/uml/core/metamodel/core/foundation/UMLXMLManip.java brought about 20+% improvement alone on 10 minute long webreport.