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 28025

Summary: speed up init of Import management wizard tool
Product: java Reporter: David Simonek <dsimonek>
Component: UnsupportedAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: blocker CC: tpavek
Priority: P2 Keywords: PERFORMANCE
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 30604    
Bug Blocks: 27795, 34165    
Attachments: zipped OptimizeIt snapshot of wizard opening

Description David Simonek 2002-10-15 16:15:07 UTC
First open takes longer then 1 second, which
violates UI responsiveness rules.
I will cooperate and help with speedup. I'll try
to identify time-consuming places using optimizing
tools, ask you for further information, perhaps I
will attach some patches. See measured numbers here:

http://performance.netbeans.org/reports/20020919-dialog-numbers.txt
Comment 1 David Simonek 2002-10-22 17:59:39 UTC
Optimization tool showed following bottlenecks:

1) Parsing of java source before wizard open
62.24% - 10529 ms -
org.netbeans.modules.java.parser.ParsingSupport$Processor.run()

2) Wizard content initialization, done before wizrad is shown on the
screen (most of the time takes TableTreeView) 
 4.9% - 829 ms -
org.netbeans.modules.java.imptool.FqnPanel.initAllComponents()

3) First paint of tree table is slow
13.16% - 2227 ms -
org.openide.explorer.view.TableSheetCell.getTableCellRendererComponent()
4.31% - 730 ms -
org.netbeans.modules.java.imptool.IdentifierNode$PackageProp.getPropertyEditor()

4) some Wizard.Panel impls extends JComponent, which is wrong
Comment 2 David Simonek 2002-10-23 09:44:10 UTC
Created attachment 7741 [details]
zipped OptimizeIt snapshot of wizard opening
Comment 3 Tomas Pavek 2003-02-03 16:36:48 UTC
Should here the technique from issue 30604 be used?
Comment 4 Tomas Hurka 2003-02-12 10:28:45 UTC
Done in trunk. It was implemented using asynchronous post-init (issue #30604) of first IMT wizard panel.