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.

Bug 65370 - XML file node popup in Projects view is slow
Summary: XML file node popup in Projects view is slow
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 80723
  Show dependency tree
 
Reported: 2005-09-29 16:11 UTC by Antonin Nebuzelsky
Modified: 2008-09-24 11:51 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2005-09-29 16:11:22 UTC
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
Comment 1 Petr Jiricka 2005-10-03 17:33:55 UTC
Tondo, could you please include comparative numbers for .txt files?
Comment 2 Antonin Nebuzelsky 2005-10-11 12:13:36 UTC
   Txt file node popup in Projects View
   [ ms ] / 100 ms 	FC3 	JDS3 	Sol9 	Sol10 	W2K 	WinXP
 	usage 		195 	107 	139 	98 	73 	62
Comment 3 Antonin Nebuzelsky 2005-10-13 09:41:49 UTC
Reassigning to myself for detailed analysis.
Comment 4 _ rkubacki 2005-11-08 13:51:17 UTC
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.
Comment 5 Antonin Nebuzelsky 2005-12-05 12:20:12 UTC
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.
Comment 6 Marek Fukala 2005-12-09 10:01:05 UTC
We will try to improve the times more in next release.
Comment 7 Marek Fukala 2007-02-16 14:41:34 UTC
Reassigning to default owner of selected subcomponent. New owners are gladly
welcomed.
Comment 8 Oleg Khokhlov 2008-09-24 11:51:32 UTC
latest results (Netbeans 6.5[080923])
 
testXmlFilePopupMenuProjects
   [ ms ] / 100 ms 	
                   Ubuntu   Solaris   WinXP
1st usage 	        93 	164 	114
Subsequent usage 	39 	32 	22