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.
Context.xml node popup in Projects view is slow. Context.xml node popup in Projects View RHE Linux 3 Solaris 9 Win XP [ ms ] / 100 ms 1st usage 186 435 151 Subsequent usage 81 111 54
Web.xml node popup is also slow. Web.xml node popup in Projects View RHE Linux 3 Solaris 9 Win XP [ ms ] / 100 ms 1st usage 165 754 182 Subsequent usage 63 104 62
While profiling actions on web.xml and other desriptors I see XML parsing using validation, namespaces and schemas. One posility is to consider schema caching - http://www-128.ibm.com/developerworks/xml/library/x-perfap3.html Probably not a win for the first use but can be usefull for next reparsing.
And the reason why I saw XML parsing is XmlMultiViewDataSynchronizer that builds model when I select web.xml node (and navigator is loading the content of documented and concurrent synchronizer is parsing). Why do we need synchronized when there is no modification?
I think we do not need to init the synchronizer before doing a change or at least before opening in editor, do we? Erno?
Changing issue type to TASK since the problem should be fixed in the infrastucture (see the issue 80723).
latest results Netbeans 6.5[080921] testContextXmlFilePopupMenuProjects [ ms ] / 100 ms Ubuntu Solaris WinXP 1st usage 29 36 54 Subsequent usage 28 30 35 testWebXmlFilePopupMenuProjects [ ms ] / 100 ms Ubuntu Solaris WinXP 1st usage 27 17 29 Subsequent usage 23 17 23
issue #80723 describes the problem.