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 38192 - DOM trees created to initialize menu
Summary: DOM trees created to initialize menu
Status: RESOLVED DUPLICATE of bug 38108
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2003-12-17 19:00 UTC by _ rkubacki
Modified: 2004-01-28 11:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump snapshot after startup during warmup (12.72 KB, text/plain)
2003-12-17 19:01 UTC, _ rkubacki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2003-12-17 19:00:17 UTC
During processing of menu warmup task VCS support
creates DOM documents. This is not a bug from
user's point of view but wastes resources. DOM
related classes have to be loaded and initialized
and it is likely that custom SAXParser can do
better work than building of full DOM tree.
Ideally we can get rid of all usages of DOM.
Comment 1 _ rkubacki 2003-12-17 19:01:25 UTC
Created attachment 12620 [details]
thread dump snapshot after startup during warmup
Comment 2 Martin Entlicher 2003-12-17 19:46:11 UTC
Well, VCS commands defined in XML are parsed using DOM tree, because
it's easier to implement. VCS commands can form hierarchical
structures, therefore DOM is ideal for that purpose.

We would need to evaluate how hard it would be to use SAX instead.
Comment 3 Martin Entlicher 2004-01-28 11:04:56 UTC
This is actually a duplicate of issue #38108.


*** This issue has been marked as a duplicate of 38108 ***