DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6849>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6849

Xerces2 performance difference with DOM compared to Xerces1????

           Summary: Xerces2 performance difference with DOM compared to
                    Xerces1????
           Product: Xerces2-J
           Version: 2.0.0
          Platform: Other
               URL: http://xml.apache.org/xerces2-j/index.html
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to