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????





------- Additional Comments From [EMAIL PROTECTED]  2002-03-20 19:49 -------
I have attached a WinZip file containing the source code I used. The java files 
should be placed in a package called 'dom'. Also included are the various xml 
test files that I used with amounts of customers varying from 10 to 30,000.
The code is configured so that the user is prompted for the name of the xml 
file if this is not set as a parameter at run time. 
After entering a valid filename, the user is prompted secondly for the number 
of times they want to parse the file. This number can be previously entered as 
the second command line argument.
Main is in JAXP_DOMToValObj.java.
I ran this code 100 times for each XML file and obtained averages. This was 
done for both Xerces1 and Xerces2. The performance difference is more obvious 
with the larger XML files.
I hope that this helps,
Thanks

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

Reply via email to