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 62443 - Opening Important FIles is slow due to XML Layer node
Summary: Opening Important FIles is slow due to XML Layer node
Status: CLOSED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-08-17 08:10 UTC by Martin Krauskopf
Modified: 2005-09-05 09:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
dumpstack (4.68 KB, text/plain)
2005-08-17 08:11 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2005-08-17 08:10:20 UTC
"XML Layer" node in Important Files should be at least lazy-loaded. i.e. it
shouldn't begin to "load" itself until it is really opened. Since currently it
begins "load" after opening Important Files node. So if I want to take a look
only at e.g. at Module Manifest, I have to wait until layer is parsed (which is
quite long long time firsttime).
Or loading node in the separate thread would be even better of course.
Also maybe related to other perfomance problem (i.e duplicate), didn't take a
look at the code yet.
Comment 1 Martin Krauskopf 2005-08-17 08:11:38 UTC
Created attachment 23968 [details]
dumpstack
Comment 2 Jesse Glick 2005-08-17 11:29:25 UTC
Yes, it should be asynch, or deferred until you ask for the context menu and/or
children.
Comment 3 Jesse Glick 2005-08-24 06:40:06 UTC
After a rewrite, layer parsing only happens if you expand this node.
Comment 4 Martin Krauskopf 2005-08-24 11:54:59 UTC
Yes, much better. v/c