com.sosnoski.xmlbench
Class XMLBench
java.lang.Object
|
+--com.sosnoski.xmlbench.XMLBench
- public class XMLBench
- extends java.lang.Object
Benchmark program for comparing performance of Java XML parsers and
document representations. Performance is measured in terms of both
speed and memory requirement for constructing the document representation
from a SAX parse, and in terms of speed for walking the representation and
generating text output.
- Version:
- 1.2
- Author:
- Dennis M. Sosnoski
|
Method Summary |
static void |
main(java.lang.String[] argv)
Test driver, just reads the input parameters and executes the test. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELAY_BETWEEN_DOCUMENTS
public static final int DELAY_BETWEEN_DOCUMENTS
- Wait time between test documents (ms).
BRIEF_LINE_LENGTH
public static final int BRIEF_LINE_LENGTH
- Output line length for brief format.
BRIEF_ITEM_WIDTH
public static final int BRIEF_ITEM_WIDTH
- Width of each item field in brief format.
BRIEF_PER_LINE
public static final int BRIEF_PER_LINE
- Number of brief format items per output line.
XMLBench
public XMLBench()
main
public static void main(java.lang.String[] argv)
- Test driver, just reads the input parameters and executes the test.
- Parameters:
argv - command line arguments