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 167199

Summary: 3s wasted while opening options dialog
Product: platform Reporter: kawazu428 <kawazu428>
Component: Options&SettingsAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED FIXED    
Severity: blocker CC: hmichel, howler9443, jboyens, misterm, pjiricka, silaspc, sreimers, stopd
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: PC   
OS: All   
URL: http://statistics.netbeans.org/analytics/detail.do?id=153954
Issue Type: DEFECT Exception Reporter:
Attachments: profiler nps snapshot
profiler snapshot, image

Description kawazu428 2009-06-17 07:57:38 UTC
(filing to "ide" again, still missing something like "performance", "usability", ... in issuetracker components)

Using recent IDE builds, despite some of the scanning-related issues seems to have been fixed, overally at least making
the IDE start up faster, at the moment I am sad to see that NetBeans is next to unusable in my environment (>50 maven2
projects in a "folder-of-projects" group). 

Experiences:

- IDE starts up pretty quickly now. Good.
- As soon as it is up however, I frequently am presented a notification box showing something like "System slowness
detected, system unresponsive for XXXX ms" (XXXX usually > 1.000, most of the time > 2.000). Attaching a profiler
snapshot, showing that obviously(?) CLI Requests Server is causing this kind of trouble?
- Generally, the IDE by then is next to unusable. This message pops up, like, a dozen times in a minute, and the IDE
seems to be somewhere in betweeen showing this message, being "unresponsive" (in terms of the UI not being repainted)
or, for a few couple of seconds, actually accepting user input.

Not really pleasant at the moment, unfortunately. Any more input I can provide on this? It generally seems that NetBeans
so far has severe problems with larger project collections opened...


Product Version: NetBeans IDE Dev (Build 200906151401)
Java: 1.6.0_14; Java HotSpot(TM) Server VM 14.0-b16
System: Linux version 2.6.28-11-generic running on i386; UTF-8; de_DE (nb)
Userdir: /home/kr/.netbeans/dev-pre7
Comment 1 kawazu428 2009-06-17 07:58:11 UTC
Created attachment 83670 [details]
profiler nps snapshot
Comment 2 kawazu428 2009-06-17 07:58:42 UTC
Created attachment 83671 [details]
profiler snapshot, image
Comment 3 Jaroslav Tulach 2009-06-17 10:01:38 UTC
Looking at the NPS file, it seems that the AWT thread is blocked for 3s while opening options dialog. As this is 
usually lengthy operation, I'd suggest use of progress bar while the categories are initialized in background.
Comment 4 kawazu428 2009-06-17 10:05:39 UTC
Well... I don't completely remember whether I was opening "Options" dialog during that very session, but the behaviour
is the same also if doing a "clean" IDE start and just doing work in open file editors restored from the last session.
So I'm not sure whether this only relates to the "Options" dialog after all...
Comment 5 Jaroslav Tulach 2009-06-17 10:52:18 UTC
I reassigned the bug based on the content of your nps file.

If you want to report more bugs or disable the diagnostic system, please look at:
http://wiki.netbeans.org/FitnessViaPostMortem
Comment 6 Jiri Skrivanek 2009-07-29 08:57:16 UTC
*** Issue 169345 has been marked as a duplicate of this issue. ***
Comment 7 Jiri Skrivanek 2009-08-05 11:04:05 UTC
*** Issue 169867 has been marked as a duplicate of this issue. ***
Comment 8 Jiri Skrivanek 2009-09-01 10:56:58 UTC
*** Issue 171172 has been marked as a duplicate of this issue. ***
Comment 9 Jiri Skrivanek 2009-09-09 11:06:32 UTC
*** Issue 171568 has been marked as a duplicate of this issue. ***
Comment 10 Jiri Skrivanek 2009-09-23 13:59:49 UTC
WAIT_CURSOR is shown when opening Options and when switching between categories. It takes some time to initialize panels.
core-main #c9c151b23dad
Comment 11 Quality Engineering 2009-09-25 09:10:51 UTC
Integrated into 'main-golden', will be available in build *200909241442* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c9c151b23dad
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #167199 - WAIT_CURSOR shown when opening Options and when switching between categories.
Comment 12 Jiri Skrivanek 2009-10-12 12:42:08 UTC
*** Issue 174069 has been marked as a duplicate of this issue. ***