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.
Our performance tests show that first invocation of XML node's popup in Projects view is slow. Xml file node popup in Projects View [ ms ] / 100 ms FC3 JDS3 Sol9 Sol10 W2K 1st invocation 212 261 339 378 135
Tondo, could you please include comparative numbers for .txt files?
Txt file node popup in Projects View [ ms ] / 100 ms FC3 JDS3 Sol9 Sol10 W2K WinXP usage 195 107 139 98 73 62
Reassigning to myself for detailed analysis.
XML modules define their own support for extending loaders with new actions that allows to plug various actions to loaders defined here. This support is definitely required but we should be able to achieve the same goal by using functionalities in Data System API. This can save couple of classes that have to be initialize when popup - Collect{System|XML|DTD}Action + related interfaces. Also there is processing of JInlineMenu involved.
Given the effort which has been put in optimizing all popups and the improvements which were gained mainly by making the CVS submenu lazy and speeding up enabling of some actions, I believe we can decrease priority of this issue to P3 even though 1st invocation is still far above the 200ms. Subsequent invocations in all measured platforms are below 100ms! Keeping open because this would still deserve speeding up the 1st invocation case.
We will try to improve the times more in next release.
Reassigning to default owner of selected subcomponent. New owners are gladly welcomed.
latest results (Netbeans 6.5[080923]) testXmlFilePopupMenuProjects [ ms ] / 100 ms Ubuntu Solaris WinXP 1st usage 93 164 114 Subsequent usage 39 32 22