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.
This issue was reported manually by stefan79. It already has 1 duplicates Build: NetBeans IDE Dev (Build 201004140201) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Windows XP Maximum slowness yet reported was 118906 ms, average is 118906
Created attachment 97369 [details] nps snapshot
I tried the following: -) Closed NetBeans -) Deleted the Cache-Directory (.netbeans/dev/var/Cache) -) Started NetBeans -) Pressed on the Profiler Button -) After 1 Minute I pressed again at the Profiler-Button It´s a result of http://netbeans.org/bugzilla/show_bug.cgi?id=184186
Created attachment 97673 [details] nps snapshot Invoked code completion on a domain object inside of a Grails project
Created attachment 97697 [details] nps snapshot
Noting to do with Output Window. org.netbeans.modules.editor.completion.CompletionImplProfile initiates write of sampler data in AWT. Defect in editor or sampler.
Seems like a problem with sampling.
According to http://statistics.netbeans.org/exceptions/exception.do?id=390587 the Sample.close(), can take quite a lot of time. The close happens on AWT thread (mistake?) and is itself detected as slowness. Tomáši, what is your advice in this case? We probably need to move the long action outside of AWT. Where the thread switch shall happen?
Fixed in main in a similar way to issue #184680. changeset: 195390:eec655dbcdd9 user: Tomas Hurka <thurka@netbeans.org> date: Tue Jun 07 14:44:21 2011 +0200 summary: bugfix #184187, invoke SelfProfiling action outside of EDT
Fixed in 7.0.1 changeset: 200344:c93941265e58 branch: release701 user: Tomas Hurka <thurka@netbeans.org> date: Tue Jun 07 14:44:21 2011 +0200 summary: bugfix #184187, invoke SelfProfiling action outside of EDT
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/eec655dbcdd9 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #184187, invoke SelfProfiling action outside of EDT
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/c93941265e58 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #184187, invoke SelfProfiling action outside of EDT (transplanted from eec655dbcdd90ba8d2ae49d2a6c74ec3a8f43f2b)