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 - speed up init of Import management wizard tool
Summary: speed up init of Import management wizard tool
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: PERFORMANCE
Depends on: 30604
Blocks: 27795 34165
  Show dependency tree
 
Reported: 2002-10-15 16:15 UTC by David Simonek
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
zipped OptimizeIt snapshot of wizard opening (130.13 KB, application/octet-stream)
2002-10-23 09:44 UTC, David Simonek
Details

Note You need to log in before you can comment on or make changes to this bug.
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.