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 Dev (Build 201109090600) VM: Java HotSpot(TM) Client VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07 OS: Linux User Comments: jungmat: come back to IDE from other application window Maximum slowness yet reported was 5719 ms, average is 4387
Created attachment 110604 [details] nps snapshot
The last report will be hard to fix, as most of the time is spend painting. The only NetBeans code (deep in the stack) is form editor's designer. One suspicious think is that org.netbeans.modules.form.ComponentLayer$DesignerPanel.paint() calls into org.netbeans.modules.form.project.ClassPathUtils.getProjectClassLoader() which may not be fast all the time (but in this case it adds just 200ms). Still I'd suggest to eliminate this call.
As it was metioned already. The majority of time is spent in painting. We can't do much with that. Hence, I am closing this issue as 'will not fix' because I don't agree with the evaluation of 'ClassPathUtils.getProjectClassLoader()' call. The time spent in this call is negligible comparing to the whole time of the snapshot. The invocation of this method is also necessary for the corresponding code.