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 46195 - Opening New File dialog for first time is slow
Summary: Opening New File dialog for first time is slow
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-07-15 13:45 UTC by Marian Mirilovic
Modified: 2006-03-24 10:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
work draft of warmup New File Wizard (6.73 KB, patch)
2004-07-20 16:52 UTC, Jiri Rechtacek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-07-15 13:45:58 UTC
[nb_dev](200407141800), [jdk1.5.0](beta3 - b58) on
out lab
machines:
---------------------
                   Linux RH9   JDS2  Sol9   W2K   WXP
 1st usage 	1753 	1924 	2029 	1500 	1760
Subsequent usage 	747 	955 	641 	551 	631
---------------------

Test case:
- run IDE
-  Push main menu File|New File...
EXPECTED RESULT: New File dialog is opened within
1000ms.

----

If I measure the same dialog on my faster notebook
/ RH Linux 9/Gnome/JDK1.5.0(beta3), it takes  ~
1618 ms .
Comment 1 Jiri Rechtacek 2004-07-20 16:52:34 UTC
Created attachment 16345 [details]
work draft of warmup New File Wizard
Comment 2 Jiri Rechtacek 2004-07-21 16:21:46 UTC
fixed, the frame of New Wizard is fast shown and later the rest of
time-consuming components is painted

Checking in
src/org/netbeans/modules/project/ui/TemplateChooserPanelGUI.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplateChooserPanelGUI.java,v
 <--  TemplateChooserPanelGUI.java
new revision: 1.24; previous revision: 1.23
done
Checking in src/org/netbeans/modules/project/ui/TemplatesPanel.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanel.java,v
 <--  TemplatesPanel.java
new revision: 1.13; previous revision: 1.12
done
Checking in src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java,v
 <--  TemplatesPanelGUI.java
new revision: 1.23; previous revision: 1.22
done
Comment 3 Marian Mirilovic 2005-03-25 14:30:51 UTC
improved for NB4.0

( Linux RH9   JDS2  Sol9   W2K   WXP )

 1st usage 	1316 	1575 	1445 	2455 	968 	1166
Subsequent usage 	619 	939 	656 	961 	423 	476