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.
Dell Precision 220, PIII 800MHz, 512MB RAM, W2000 j2skd 1.5.0-beta2 b46 trunk build 200404230645 Expanding of [a project] / Source Packages takes a long time. It should be investigated if this can be made faster. First expansion of jEdit project's source packages (22 items): 3704ms, 3375ms, 3547ms First expansion of openide project's packages (55 items - CVS's not filtered out by VCS FS): 5234ms, 5015ms, 5203ms (26 items - CVS's filtered out by VCS FS): 4750ms, 4078ms, 4250ms
Petr plans to rewrite the package view. Hopefully performance will be better with the rewrite.
It sould be a bit better now after the PackageView rewrite. But do not expect it to be as fast as simple folder opening as it still has to traverse the whole folder hierarchy in order to find all the packages.
Correcting target milestone
Probably the package view should scan for packages asynchronously and add them as it finds them (as e.g. FolderChildren does for folder recognition). Does it do this? If not, it may be a performance problem for large source roots.
The improvement is major. jEdit project's source packages: 1100ms (was ~3500ms) openide project's src packages: 1700ms (was ~5200ms) Closing as Verified. The time is not <1000ms but there is an indication of hour-glass cursor and IMHO the time is now very reasonable.