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.

Bug 202432 - [71cat] LowPerformance took 7230 ms.
Summary: [71cat] LowPerformance took 7230 ms.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Progress (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords: PERFORMANCE
: 203140 (view as bug list)
Depends on: 203648
Blocks:
  Show dependency tree
 
Reported: 2011-09-21 15:01 UTC by ytn01
Modified: 2011-10-24 14:05 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181271


Attachments
nps snapshot (83.29 KB, application/nps)
2011-09-21 15:01 UTC, ytn01
Details
nps snapshot (139.05 KB, application/nps)
2011-10-05 13:56 UTC, akobberup
Details
nps snapshot (70.20 KB, application/nps)
2011-10-07 10:13 UTC, Ondrej Vrabec
Details
Changes in TimeableEventQueue (1.96 KB, patch)
2011-10-11 12:20 UTC, Jan Peska
Details | Diff
fixed Patch (1.63 KB, patch)
2011-10-14 08:03 UTC, Jan Peska
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2011-09-21 15:01:00 UTC
This bug was originally marked as duplicate of bug 201743, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201109180600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-384, Java(TM) SE Runtime Environment, 1.6.0_26-b03-384-10M3425
OS: Mac OS X

User Comments:
ytn01: Simply removed a Jar library from my project's Library set.



Maximum slowness yet reported was 7230 ms, average is 7230
Comment 1 ytn01 2011-09-21 15:01:06 UTC
Created attachment 110971 [details]
nps snapshot
Comment 2 akobberup 2011-10-05 13:56:50 UTC
Created attachment 111540 [details]
nps snapshot
Comment 3 Ondrej Vrabec 2011-10-07 10:13:57 UTC
Created attachment 111645 [details]
nps snapshot
Comment 4 Jan Peska 2011-10-11 11:48:46 UTC
fix: http://hg.netbeans.org/core-main/rev/6c0368ddee9a
Comment 5 Jan Peska 2011-10-11 11:53:42 UTC
This changeset fixes issue that wait cursor is not displayed when dialog window is active -> Slowness report is shown.
Comment 6 Jan Peska 2011-10-11 12:20:25 UTC
Created attachment 111842 [details]
Changes in TimeableEventQueue

One more wait_cursor_check added after REPORT time. Jardo we talked about this earlier today, can you please review this patch?

Thanks
Comment 7 Jan Peska 2011-10-11 13:32:06 UTC
*** Bug 203140 has been marked as a duplicate of this bug. ***
Comment 8 ceklock 2011-10-12 13:52:07 UTC
Coding, clicked on hint icon to add @Override to a method.

http://statistics.netbeans.org/analytics/detail.do?id=181271
Comment 9 Quality Engineering 2011-10-12 14:24:56 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/6c0368ddee9a
User: Jan Peska <jpeska@netbeans.org>
Log: Issue #202432 - [71cat] LowPerformance took 7230 ms.
Wait cursor from runOffEDT was not displayed in case of dialogs
Comment 10 Jan Peska 2011-10-13 07:17:33 UTC
fix: http://hg.netbeans.org/core-main/rev/e581cbb703c0
Comment 11 280Z28 2011-10-13 17:54:50 UTC
This revision:

http://hg.netbeans.org/core-main/rev/e581cbb703c0

Results in a hang in "done()" on the line "WAIT_CURSOR_CHECKER.waitFinished();". The NetBeans UI never loads - just sitting at a white screen.
Comment 12 Ondrej Vrabec 2011-10-13 18:36:43 UTC
> Results in a hang in "done()" on the line
> "WAIT_CURSOR_CHECKER.waitFinished();". The NetBeans UI never loads - just
> sitting at a white screen.
That was fixed as bug #203648.
Comment 13 Jan Peska 2011-10-14 08:03:33 UTC
Created attachment 112039 [details]
fixed Patch

It seems freeze problem is resolved by setting initiallyFinished to true in RequestProcessor.create

Jardo, can you please review this patch?

Thanks
Comment 14 Quality Engineering 2011-10-14 15:02:09 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/e581cbb703c0
User: Jan Peska <jpeska@netbeans.org>
Log: Issue #202432 - [71cat] LowPerformance took 7230 ms.
Another WAIT_CURSOR check added after REPORT time
Comment 15 Jaroslav Tulach 2011-10-19 17:55:17 UTC
create(..., true) is good idea. Also consider:

if (!WAIT_CURSOR_CHECKER.cancel()) {
  WAIT_CURSOR_CHECKER.waitFinished();
}

as true from cancel should mean the task has not even started.
Comment 16 Jan Peska 2011-10-20 11:38:07 UTC
(In reply to comment #15)
> create(..., true) is good idea. Also consider:
> 
> if (!WAIT_CURSOR_CHECKER.cancel()) {
>   WAIT_CURSOR_CHECKER.waitFinished();
> }
> 
> as true from cancel should mean the task has not even started.

Sounds reasonable. I'm going to test it.
Comment 17 Jan Peska 2011-10-20 12:30:18 UTC
fix: http://hg.netbeans.org/core-main/rev/75a1d21143c4
Comment 18 Quality Engineering 2011-10-24 14:05:09 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/75a1d21143c4
User: Jan Peska <jpeska@netbeans.org>
Log: Issue #202432 - [71cat] LowPerformance took 7230 ms.
Wait cursor check added