nux.xom.sandbox
Class BinaryXMLBench
java.lang.Object
nux.xom.sandbox.BinaryXMLBench
- public final class BinaryXMLBench
- extends Object
Tests and benchmarks bnux format against a set of standard textual XML files.
Command line options allow to round-trip and check canonical XML results.
They also allow to benchmark serialization, deserialization or both,
either via bnux or xom.
Example usage:
java -server nux.xom.sandbox.BinaryXMLTest test bnux 0 1 1 samples/data/*.xml
java -server nux.xom.sandbox.BinaryXMLTest ser bnux 0 10000 5 samples/data/periodic.xml
java -server nux.xom.sandbox.BinaryXMLTest deser bnux 0 10000 5 samples/data/periodic.xml
java -server nux.xom.sandbox.BinaryXMLTest serdeser bnux 0 5000 5 samples/data/periodic.xml
java -server nux.xom.sandbox.BinaryXMLTest serdeser xom 0 5000 5 samples/data/periodic.xml
- Author:
- whoschek.AT.lbl.DOT.gov, $Author: hoschek3 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] args)
throws Exception
- Throws:
Exception