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 168474 - Slowness during startup during palette inicialization
Summary: Slowness during startup during palette inicialization
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-07-13 12:51 UTC by Tomas Mysik
Modified: 2009-09-15 10:54 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 153641


Attachments
nps snapshot (22.97 KB, bin/nps)
2009-07-13 12:51 UTC, Tomas Mysik
Details
nps snapshot (17.88 KB, bin/nps)
2009-07-15 14:16 UTC, Tomas Mysik
Details
nps snapshot (32.63 KB, bin/nps)
2009-07-22 21:19 UTC, kawazu428
Details
nps snapshot (52.72 KB, bin/nps)
2009-07-22 21:31 UTC, kawazu428
Details
nps snapshot (48.00 KB, bin/nps)
2009-07-22 23:13 UTC, Jesse Glick
Details
nps snapshot (47.74 KB, bin/nps)
2009-07-23 22:06 UTC, Jesse Glick
Details
nps snapshot (47.48 KB, bin/nps)
2009-07-28 21:34 UTC, kawazu428
Details
nps snapshot (24.19 KB, bin/nps)
2009-07-29 11:07 UTC, Jiri Prox
Details
nps snapshot (7.65 KB, bin/nps)
2009-07-31 11:05 UTC, _ alexlamsl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2009-07-13 12:51:18 UTC
Build: NetBeans IDE Dev (Build 090710)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-13-generic, amd64
Maximal alredy reported slowness was 3334 ms, average is 3334
Comment 1 Tomas Mysik 2009-07-13 12:51:22 UTC
Created attachment 84652 [details]
nps snapshot
Comment 2 Tomas Mysik 2009-07-15 14:16:00 UTC
Build: NetBeans IDE Dev (Build 090714)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-13-generic, amd64

User Comments: 
IDE start (in AWT I see some XML data object but I have no XML file opened in the editor)
Maximal alredy reported slowness was 3357 ms, average is 3345
Comment 3 Tomas Mysik 2009-07-15 14:16:15 UTC
Created attachment 84781 [details]
nps snapshot
Comment 4 kawazu428 2009-07-22 21:19:27 UTC
Build: NetBeans IDE Dev (Build 200907161401)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
opening a pom.xml in an existing m2 project (50+ maven2 projects in "folder-of-projects" group)
Maximal alredy reported slowness was 6184 ms, average is 4413
Comment 5 kawazu428 2009-07-22 21:19:39 UTC
Created attachment 85086 [details]
nps snapshot
Comment 6 Exceptions Reporter 2009-07-22 21:19:58 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153641
Comment 7 kawazu428 2009-07-22 21:31:30 UTC
Build: NetBeans IDE Dev (Build 200907161401)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
opening a jsp file (50+ maven2 projects, "folder-of-projects" group, the whole "group" folder is an SVN tag by the way)
Maximal alredy reported slowness was 11397 ms, average is 5577
Comment 8 kawazu428 2009-07-22 21:31:45 UTC
Created attachment 85088 [details]
nps snapshot
Comment 9 Exceptions Reporter 2009-07-22 21:32:07 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153641
Comment 10 Jesse Glick 2009-07-22 23:13:31 UTC
Build: NetBeans IDE Dev (Build 090721)
VM: Java HotSpot(TM) Client VM, 1.5.0_18-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_18-b02
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
Starting IDE w/ Java source open.
Maximal alredy reported slowness was 11397 ms, average is 5262
Comment 11 Jesse Glick 2009-07-22 23:13:40 UTC
Created attachment 85096 [details]
nps snapshot
Comment 12 Exceptions Reporter 2009-07-22 23:13:58 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153641
Comment 13 Jesse Glick 2009-07-23 22:06:45 UTC
Build: NetBeans IDE Dev (Build 090721)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 

Maximal alredy reported slowness was 11397 ms, average is 5182
Comment 14 Jesse Glick 2009-07-23 22:06:55 UTC
Created attachment 85152 [details]
nps snapshot
Comment 15 Exceptions Reporter 2009-07-23 22:07:12 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153641
Comment 16 Jaroslav Tulach 2009-07-24 14:12:31 UTC
Last NPS is from mercurial.
Comment 17 Tomas Pavek 2009-07-24 16:39:14 UTC
Not really mercurial. I went through several snapshots and it seems to me like 2 different things mixed here.

One set of snapshots show creating and loading of palette (PHP - the first reports from tmysik, there's also JSP 
palette from kawazu428).

The second set of snapshots (e.g. the ones from jglick) contains call of 
org.openide.text.CloneableEditorSupport.getOpenedPanes which spends a lot of time loading the editor.

Passing to palette for evaluation first - if there's anything fixable.

Comment 18 Exceptions Reporter 2009-07-25 09:17:51 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153641
Comment 19 Stanislav Aubrecht 2009-07-27 10:03:13 UTC
the palette code does just MimeLookup.getLookup(MimePath)...
Comment 20 kawazu428 2009-07-28 21:34:02 UTC
Build: NetBeans IDE Dev (Build 200907270201)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
restarting IDE, small project group (two python. two maven2, some java ee, in total < 15)
Maximum slowness yet reported was 12239 ms, average is 5611
Comment 21 kawazu428 2009-07-28 21:34:07 UTC
Created attachment 85379 [details]
nps snapshot
Comment 22 Exceptions Reporter 2009-07-28 21:34:13 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153641
Comment 23 Jiri Prox 2009-07-29 11:07:24 UTC
Build: NetBeans IDE Dev (Build 200907280201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.24-23-generic, i386

User Comments: 
Starting IDE with one opened project
Maximum slowness yet reported was 12239 ms, average is 5497
Comment 24 Jiri Prox 2009-07-29 11:07:34 UTC
Created attachment 85430 [details]
nps snapshot
Comment 25 Exceptions Reporter 2009-07-29 11:07:54 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153641
Comment 26 _ alexlamsl 2009-07-31 11:05:36 UTC
Build: NetBeans IDE Dev (Build 200907250201)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 
4 small Java projects opened previously
Maximum slowness yet reported was 12239 ms, average is 5579
Comment 27 _ alexlamsl 2009-07-31 11:05:41 UTC
Created attachment 85605 [details]
nps snapshot
Comment 28 Jaroslav Tulach 2009-08-03 15:23:01 UTC
I guess that many of duplicates are not real duplicates. Jindro, can you look at reasons why these reports are treated 
as duplicates and split the reports to separate groups?
Comment 29 Jindrich Sedek 2009-08-04 07:54:40 UTC
I've separated reports related to cloneable editor support and few more not related problems the reason is all the 
problems are rising during IDE startup. I hope the rest of duplicates are all related to palette inicialization
Comment 30 Jaroslav Tulach 2009-08-04 09:48:19 UTC
All three current duplicates of 153641 (namely 226933 228072 231758) are related to palette. Each of them may require 
different fix, but finding that out is a task requiring Standa's knowhow, I guess.
Comment 31 Stanislav Aubrecht 2009-09-15 10:54:44 UTC
closing

please reopen if reproducible in recent builds, thanks