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 21053 - CSSModuleInstall.restored() too slow
Summary: CSSModuleInstall.restored() too slow
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: CSS (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords: PERFORMANCE
Depends on: 21299 22086
Blocks:
  Show dependency tree
 
Reported: 2002-03-01 10:16 UTC by Jesse Glick
Modified: 2007-09-25 06:05 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 Jesse Glick 2002-03-01 10:16:59 UTC
[dev feb 28] I noticed that CSSModuleInstall.restored() takes about 3%
of total main() thread time during startup. This is unreasonable for
an infrequently-used module. I think it could be rewritten to use
layer-based editor kit installation which would be much faster.
Comment 1 _ pkuzel 2002-03-07 14:38:42 UTC
The trick is not layer based initialization. It does not support lazy
setting initiaization. Reflection must be used to defer heavy kit
class loading.
Comment 2 Martin Schovanek 2002-09-25 14:59:29 UTC
VERIFIED
Comment 3 Quality Engineering 2003-07-02 08:40:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.