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 - Instantiating files can be slow
Summary: Instantiating files can be slow
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-05-24 04:25 UTC by Exceptions Reporter
Modified: 2012-06-15 08:37 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 161924


Attachments
nps snapshot (15.55 KB, application/nps)
2010-05-24 04:26 UTC, Exceptions Reporter
Details
nps snapshot (24.86 KB, application/nps)
2010-05-31 06:50 UTC, cncore
Details

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