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.
1,when I open hg main directory then the directories are shown with "folder icon". After a while they start changing to "module icon". The change is really slow but there is really lot of modules. Can't we use FitnessViaLazyness to speed it up? 2, the same happens for NetBeansProjects folder where are only a few projects
Created attachment 66704 [details] screenshot
Milos knows some very secret and tricky way how to do it, reassigning to him.
i've introduced a way to delay creation of project lookup until it's really needed. http://hg.netbeans.org/main/rev/59c2842584f4 While it helped a bit it's not really significant. I assume it's because there's still a lot of work done in Netbeans module project class in it's constructor. reassigning to apisupport owners to consider moving the code from constructor elsewhere.
Integrated into 'main-golden', available in build *200808071401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/59c2842584f4 User: Milos Kleint <mkleint@netbeans.org> Log: #143063 introducing lazy lookup that shall prevent complete project lookup initialization within the open project dialog.
I'm not sure what else there is to do. Would need profiler results. I guess LazyLookup can help avoid creating a few objects, though the expensive stuff - classpath initialization - was already deferred until later.
this issue is highly visible. It happens when user just scrolls through a directory with more projects. I'm always surprised when I scroll. Then I have to count to ten and the I can find our what is it is a dir or a project. Is anybody going to profile it?
I'll take a look at it.
I made some tweaks to timing in issue #146370 which might help. On my laptop the display of icons is pretty fast. *** This issue has been marked as a duplicate of 146370 ***