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.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Linux, 2.6.31.9-174.fc12.x86_64, amd64 Maximum slowness yet reported was 20410 ms, average is 11814
Created attachment 93212 [details] nps snapshot
Partially fixed as bug 160377. As mentioned in that bug, there is still a lot of work being done in AWT during form loading which can only be done in AWT. In this case the snapshot shows about 6 seconds. There is no java parsing in that anymore, just loading component classes and initializing components. All that needs to run in AWT thread at once because it runs under changed Look&Feel settings which must be reverted back before another AWT event can be processed by the IDE. So far there is no known solution for this. Loading of big forms can take longer, blocking AWT thread. At least it is properly communicated to the user (wait mouse cursor, status message). Let's use this bug to represent this problem and see how many reports get collected.
Created attachment 94016 [details] nps snapshot
Created attachment 94017 [details] nps snapshot
The last attachment (id=94017) contains snapshot showing more than 3s spent in scanning palette - this looks like a result of using a custom layout manager. It is slow only for the first time after IDE started. Also usage of custom layout managers is pretty rare, so it has not much sense e.g. to pre-scan the palette in advance.
Tomas, several snapshots in the exception reporter were produced by me once the IDE had already loaded the palette. I did three in a row, if I'm not mistaken. So this certainly isn't limited to loading the palette for first use.
Sure, I've found the palette scanning only in one snapshot, but mentioned it for the record as a new thing to consider (that may also take time). The form loading is there always, while the palette scanning has some impact just rarely.
*** Bug 66684 has been marked as a duplicate of this bug. ***
*** Bug 181433 has been marked as a duplicate of this bug. ***
*** Bug 181828 has been marked as a duplicate of this bug. ***
*** Bug 183508 has been marked as a duplicate of this bug. ***
*** Bug 188638 has been marked as a duplicate of this bug. ***
*** Bug 188672 has been marked as a duplicate of this bug. ***
*** Bug 201211 has been marked as a duplicate of this bug. ***
*** Bug 199727 has been marked as a duplicate of this bug. ***
*** Bug 189368 has been marked as a duplicate of this bug. ***
*** Bug 189269 has been marked as a duplicate of this bug. ***
*** Bug 189593 has been marked as a duplicate of this bug. ***
It is not a new issue, it is old as before and I can reproduce it for Linux as well, so it is not specific for any OS.
I am changing the TM to TBD since it was not addressed at 7.1.1 and I don't know it will be for 7.2.
*** Bug 198978 has been marked as a duplicate of this bug. ***
*** Bug 233993 has been marked as a duplicate of this bug. ***
*** Bug 241091 has been marked as a duplicate of this bug. ***
*** Bug 245295 has been marked as a duplicate of this bug. ***