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 186574

Summary: Instantiating files can be slow
Product: projects Reporter: Exceptions Reporter <exceptions_reporter>
Component: Generic Projects UIAssignee: Milos Kleint <mkleint>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cncore, epenthesis, hmichel, lolo_101, _m4c0_
Priority: P4 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 161924
Attachments: nps snapshot
nps snapshot

Description Exceptions Reporter 2010-05-24 04:25:56 UTC
Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows 7

User Comments:
GUEST: make new java class

GUEST: Creating a new java class in a package.

GUEST: 1. Opened project tree
2. Selected "Create New HTML File"
3. Set up a name for a file
4. Slowness



Maximum slowness yet reported was 9078 ms, average is 6412
Comment 1 Exceptions Reporter 2010-05-24 04:26:02 UTC
Created attachment 99365 [details]
nps snapshot
Comment 2 Jesse Glick 2010-05-24 17:39:29 UTC
Loading FreeMarker when creating a file. Not clear if there is anything to be improved. NewJavaFileWizardIterator, DefaultIterator, etc. could implement AsynchronousInstantiatingIterator; making the file would be no faster but it would look slightly different.
Comment 3 cncore 2010-05-31 06:50:50 UTC
Created attachment 99663 [details]
nps snapshot
Comment 4 Petr Cyhelsky 2012-06-15 08:37:36 UTC
Latest slowness report is from 20110911 dev build - seems to be fixed now, please reopen if it happens again.