Japex drivers for XML-based performance measurement
By sandoz on Oct 21, 2005
I have created a library of Japex drivers for measuring the performance of XML-based processing. There are drivers for:
Parsing of XML and fast infoset documents using various APIs, SAX, StAX and DOM, and implementations. There are separate drivers for comparing the default XML parser included with the JDK and the Xerces XML parser.
Serializing DOM Document instances to XML or fast infoset documents.
JAXB marshalling and unmarshalling to and from XML and fast infoset documents.
We are using this library internally to measure and track performance. Using Japex and this library means that developers do not need to create their own performance test suite to measure any performance improvements made to code and also track performance over builds to find any regressions. So hopefully the end result is developers are more productive and performance improves or does not regress.
The library, JapexXMLDriverLibrary, is currently part of the Fast Infoset project (although we would like to modify the project to place Japex and the library into a new project or projects) . There is a README that explains how to build the library.
I should really get around to adding some JavaDoc to explain the drivers in more detail. For the moment the best way to understand how it can be used is to look in the sub-directories of the FastInfosetPerformance directory.