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 202969 - XML Layer in Project view is slow to load
Summary: XML Layer in Project view is slow to load
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-10-03 10:21 UTC by dbell
Modified: 2011-10-25 21:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dbell 2011-10-03 10:21:52 UTC
[ BUILD # : 201109260601 ]
[ JDK VERSION : 1.6.26 ]

In NetBeans module projects, loading of "<this layer in context>" (under XML
Layer in the Projects tab) is very slow. It appears to load all of the virtual
filesystem at once, making it very fast to navigate, but slow to first open. It
would be great if it could lazily load the context view nodes, so that it
doesn't take so long to initialise.
Comment 1 Jesse Glick 2011-10-25 21:31:42 UTC
(In reply to comment #0)
> It appears to load all of the virtual filesystem at once

Correct - layers from all modules in the application are loaded.

> lazily load the context view nodes

I doubt this would help much; you would get an inaccurate view quickly, and then probably more time would be wasted firing change events as other layers are inserted.

There is already a platform layer cache which should help with subsequent displays.