[jdom-interest] JDOM2 and Performance.
jdom at tuis.net
Thu Oct 13 17:27:17 PDT 2011
I have put together a 'simple' system for measuring the relative
performance of JDOM2. The idea is that I need to know whether I am
improving or breaking JDOM performance as the code evolves.
Currently the metric code is only useful of you compare apples to
apples, and, in this case, it means processing a single (medium size)
XML document on my laptop, yada-yada-yada. But, it should be useful as a
tool to get a feel for what a code-change does.
Already I can see that I probably have an issue in the SAXHandler
(possibly an issue in JDOM-1.1.2 actually) because 1.1.2 is 5-times
faster in that area than JDOM2.
I have put together a results page here:
It also describes what each test does. If you are interested in seeing
the code and what it does have a look here (it is not well documented
and it is still perhaps evolving):
More information about the jdom-interest