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 31960 - Customize Bean (Servlet) dialog is opened too slow (more than for 2 sec).
Summary: Customize Bean (Servlet) dialog is opened too slow (more than for 2 sec).
Status: VERIFIED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords: PERFORMANCE, UI
Depends on:
Blocks:
 
Reported: 2003-03-12 18:55 UTC by Jason Rush
Modified: 2003-12-11 14:27 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Rush 2003-03-12 18:55:23 UTC
Description: 


Name: vgR10179			Date: 03/05/2003


NetBeans Version  =  Number:   030304 Date:     March 4 2003
JDK	 Version  = Java(TM) 2 Runtime Environment, Standard Edition (build 
1.4.1-b21)
		    Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
Operating Systems = Windows/Linux RH/Solaris 5.9

Steps to reproduce are:
- create the 'Servlet'  immediately after S1S4J start (JSPs and 
Servlets/Servlet template);
- compile it and call context menu then;
- push the Customize Bean menu item.

Customize Bean (Servlet) dialog is opened too slow  (more than for 2 sec) for 
all platforms:

Windows	NT  - 2875 ms (Pentium III, GenuineIntel, 500 MHz).
Linux	RH  - 3453 ms (Pentium III, Katmai, 500MHz).
Solaris	5.9 - 4517 ms (Sun-Blade-1000).
======================================================================

A comment.
Comment 1 Jason Rush 2003-03-12 18:56:53 UTC
Verified in BugTraq #4827575.
Comment 2 _ ttran 2003-03-13 16:56:48 UTC
Radim, please investigate.  IMO this does not deserve P2, "Customize
Bean" action is useless and should be removed from the IDE.
Comment 3 psuk 2003-03-14 16:09:14 UTC
Downgrading the priority to P3 and setting target milestone to NB40.

The funcionality (Customize Bean) is not used when developing Servlets
and doesn't make very much sense here.

Radime, do we need this funcionality for servlets at all?
Is it possible to hide this menu item for servlets?



Comment 4 _ ttran 2003-03-14 22:37:42 UTC
> Radime, do we need this funcionality for servlets at all?

IMO, "Customize Bean" should be killed completely.  This is the
remnants of the old "everything shold be a JavaBean" philosophy in the
old NB days
Comment 5 Jesse Glick 2003-03-26 17:46:03 UTC
It is more complicated than that; see my post to nbui. There are a lot
of interrelated changes we need to do; Customize Bean action is just
one part of it.
Comment 6 Jesse Glick 2003-03-28 17:47:06 UTC
Took a fraction of a second for me (on a 1200Mhz machine).

Anyway why would you want to invoke Customize Bean on a servlet to
begin with?? It's useless.
Comment 7 _ rkubacki 2003-03-31 06:24:45 UTC
I know that it's useless but the action is here and it is enabled. So
anyone can try.
Comment 8 _ rkubacki 2003-04-01 12:21:57 UTC
The recommended hardware configuration for UI responsiveness testing is

1GHZ Pentium 3, 512 MB for Windows and Linux.
Blade 1000,  750GHz UIII, 1Gb RAM, 2Gb swap area

so I did another measurement using my PIII/800MHz/512MB. Instead of
3453 ms on Linux I get 1392 ms (or 1898 when running as a socend IDE
together with Mozilla). To be honest I get 2898 ms on my Solaris 5.8 /
Ultra60 / 512MB / 450MHz when there is S1AS and Mozilla running. I
think this is significantly slower configuration that we recommend.

Also note that if you try it on dev build there are exceptions printed
to console that slows down the process (even 0.3 seconds?). These are
not printed in release builds.

According to this I will close this bug.
Comment 9 Jason Rush 2003-08-18 16:52:41 UTC
Verified with NetBeans 3.5 RC3.  Time to open was approximately one
second on an Ultra 10 with 640 MB RAM.