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 81233 - projectui module slows down startup
Summary: projectui module slows down startup
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 102410
  Show dependency tree
 
Reported: 2006-07-27 09:57 UTC by Petr Nejedly
Modified: 2007-09-10 19:37 UTC (History)
1 user (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 Petr Nejedly 2006-07-27 09:57:59 UTC
uml.project's ModuleInstall eagerly initializes nontrivial part of the uml module
(hundreds of classes), which slows down the startup by >600ms (P-M@1733MHz).
Comment 1 Kris Richards 2007-01-04 21:07:19 UTC
changed to p3 to adhere to Netbeans priority guidelines.
Comment 2 Marian Mirilovic 2007-01-05 08:40:33 UTC
krichard,
I think more appropriate in this place is P2. 600ms is a huge amount of time on
startup time (if you take into account the whole startup time takes around 12s
on the same machine)
Comment 3 Trey Spiva 2007-02-01 15:42:54 UTC
This issue was reported by our performance team, not by a user.
Comment 4 Trey Spiva 2007-02-01 16:05:19 UTC
Since UML is no longer installed via an installer, I do not think that this is a valid issue any longer.  We do 
not slow down the start up of the IDE, since the IDE is started when the user uses the update center.
Comment 5 Peter Lam 2007-03-20 23:19:57 UTC
low use case not currently impacting our installed user base.
Comment 6 Viktor Lapitski 2007-09-07 09:38:48 UTC
fixed, on my machine it became 100ms from 400ms.
Comment 7 Petr Nejedly 2007-09-07 15:31:14 UTC
Thanks, I have measured <100ms as well (not that it can't be better, but this is certainly a big improvement).
Note, that it is customary to list modified files in a closing comment to simplify verification. I haven't seen the
improvement on on the first attempt.
Comment 8 Viktor Lapitski 2007-09-10 19:37:55 UTC
> ...  <100ms as well (not that it can't be better, but 
> this is certainly a big improvement). ...

Theoretically any time bigger than 0 can be made better. 

On practice decreasing these 100ms would mean a lot of work 
and high risk of regressions. Is it worth it? These 100ms 
is the _total_ time taken by the UML plugin at startup. 
That is 3% of the best NB startup time during 5.5 release 
and less than 2% of 6.0 startup. If each plugin took 100ms 
it would result in less than 1 sec. overall NB startup :)