| Summary: | [common navigator] Java content provider needs to support lazy background load | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Chuck Bridgham <cbridgha> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, francisu, markus.kell.r, mcraquel, melickm |
| Version: | 3.6 | Keywords: | needinfo |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Chuck Bridgham
(In reply to comment #0) > I noticed the Java Navigator view may have some native support for lazy > loading? If they do, oh goody, then I can do what I always do, just steal the JDT code. :) (In reply to comment #0) > depends on java model initialization of the entire workspace in some cases. Do you have any traces that show what's taking up time, or concrete scenarios that are slow? (In reply to comment #1) The Package Explorer has no lazy loading, but have some optimizations that should avoid delays on startup: - we never compute children of Java projects or compilation units upfront (i.e. we always show the +) - we don't restore expanded elements on startup - since we don't expand projects, the classpath entries don't need to be resolved on startup (In reply to comment #2) > (In reply to comment #0) > > depends on java model initialization of the entire workspace in some cases. > > Do you have any traces that show what's taking up time, or concrete scenarios > that are slow? > > > (In reply to comment #1) > The Package Explorer has no lazy loading, but have some optimizations that > should avoid delays on startup: > - we never compute children of Java projects or compilation units upfront (i.e. > we always show the +) > - we don't restore expanded elements on startup > - since we don't expand projects, the classpath entries don't need to be > resolved on startup I'll try to add a stack trace soon, and your right about "startup".. I meant initial load after expanding project nodes. This can trigger a slow load Please reopen once you have provided the requested information. |