I ran a few of my JUnit tests and feel that the following represents the deltas in performance against dom4j 1.3+. Keep in mind the test was the same using the same code accessing DOM4J. The only differences between these tests was the SAX Parser being used. Keep in mind that they may have a more effiecient use of SAX and DOM handlers and this comparison does not take in account the best options for each parser.

Parser                   |      Gain
=========================+===============
Xerces 2.0.1             |      0.98
Xerces 2.3.0             |      1.00
FastParser (JAPISoft)    |      1.16
JDK 1.4.1 (JAXP default) |      1.18


I still have more tests to run, but in the initial review, it does look like a simple test ran with different JAXP Sax Driver / Parsers and it appears that JDK 1.4.1 is the winner with an improvement over my baseline of 18% better. FastParser came in at 16% better than my baseline of Xerces 2.3.0. Of course I only saw about 2 to 5% improvement between 2.0.1 and 2.3.0.


As soon as I get the latest DOM4J setup, I will run again. Any additional news I will gladly publish.

Thanks,
Dave

David D. Lucas wrote:
But DOM4J still needs a parser. So the numbers may have been with the JAXP stock parser for JDK1.4.1. I am interested in comparing the performance of DOM4J under Xerces and FastParser.

Anyone else interested?

Later,
Dave




--

+------------------------------------------------------------+
| David Lucas                        mailto:[EMAIL PROTECTED]  |
| Lucas Software Engineering, Inc.   (740) 964-6248 Voice    |
| Unix,Java,C++,CORBA,XML,EJB        (614) 668-4020 Mobile   |
| Middleware,Frameworks              (888) 866-4728 Fax/Msg  |
+------------------------------------------------------------+
| GPS Location:  40.0150 deg Lat,  -82.6378 deg Long         |
| IMHC: "Jesus Christ is the way, the truth, and the life."  |
| IMHC: "I know where I am; I know where I'm going."    <><  |
+------------------------------------------------------------+

Notes: PGP Key Block=http://www.lse.com/~ddlucas/pgpblock.txt
IMHO="in my humble opinion" IMHC="in my humble conviction"
All trademarks above are those of their respective owners.




------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to