You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/12 23:19:53 UTC

[jira] Updated: (XERCERJ-212) Xerces2 performance difference with DOM compared to Xerces1????

The following issue has been updated:

    Updater: Serge Knystautas (mailto:sergek@lokitech.com)
       Date: Mon, 12 Apr 2004 2:18 PM
    Changes:
             Attachment changed from JAXP.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCERJ-212?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCERJ-212

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCERJ-212
    Summary: Xerces2 performance difference with DOM compared to Xerces1????
       Type: Bug

     Status: Open

    Project: Xerces2-J

   Assignee: Xerces-J Developers Mailing List
   Reporter: Anne Meade

    Created: Mon, 4 Mar 2002 3:43 PM
    Updated: Mon, 12 Apr 2004 2:18 PM
Environment: Operating System: Windows NT/2K
Platform: PC

Description:
Hi,
I am writing a technical note evaluating the performance of different parsing 
implementations. These included Xerces1.4.4 and Xerces2.0.0. However I found 
Xerces2 performance decreases when using the DOM specification. I based my 
results on one level deep XML files. This data was read into a string buffer 
and subsequently parsed. Each file (there were 12 of varying size) was parsed 
100 times and averages were obtained from these results. The heap size of the 
machine was set at 256MB.  The results when using SAX show negligible 
performance differences between Xerces1 and Xerces1. Have you any idea why I 
may be getting a 20% performance difference when using DOM? What perhaps am I 
doing wrong? Should Xerces2 perform worse that Xerces1 when parsing DOM?
Thanking you in advance,
Anne Meade


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org