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 38754 - Regression in startup time caused by ConfigDataLoader
Summary: Regression in startup time caused by ConfigDataLoader
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 36556
  Show dependency tree
 
Reported: 2004-01-14 15:49 UTC by _ rkubacki
Modified: 2004-11-26 13:32 UTC (History)
0 users

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 _ rkubacki 2004-01-14 15:49:07 UTC
Newly introduced ConfigDataLoader initializes
whole ServerRegistry during project opening in
startup sequence. The result is 4% (Linux) - 8%
(Solaris) percent regression of startup time. 

Also it would be better to use SAX parser to
analyze file describing NetBeans specific
deployment features. It can be much faster and you
wouldn't pay the penalty for loading DOM classes.
Comment 1 Pavel Buzek 2004-01-14 17:50:50 UTC
I will rewrite the code to get the deployment plan file names w/o
initing registry (read them directly from layer).
Comment 2 Pavel Buzek 2004-01-14 23:09:04 UTC
fixed as described above
Comment 3 _ rkubacki 2004-01-16 08:54:16 UTC
Thanks, seems that it helped. The numbers from Jan 15 build are almost
back to values from Jan 12. I will wait for next build to confirm and
close this bug.
Comment 4 _ rkubacki 2004-11-26 13:32:49 UTC
verified