/** For performance testing
* @throws OperationException */
public static void main(String[] argv) throws OperationException {
RandomProvider random = new RandomProviderImpl(1);
RandomDocOpGenerator.Parameters params = PARAM_SETS[0];
DocumentSchema constraints = DocumentSchema.NO_SCHEMA_CONSTRAINTS;
IndexedDocument<Node, Element, Text> doc =
new IndexedDocumentImpl<Node, Element, Text, Void>(RawDocumentImpl.PROVIDER.parse("<a></a>"),
new AnnotationTree<Object>("a", "b", null), constraints);
AutomatonDocument autoDoc = Automatons.fromReadable(doc);