// XhtmlDocument doc = module.createDocument(url.openStream(), url, url.toExternalForm(), "text/html");
final long startTime = System.currentTimeMillis();
for (int i = 0; i < 10; i++)
{
final DefaultLayoutProcess process = new DefaultLayoutProcess
(new StreamingHtmlOutputProcessor
(LibLayoutBoot.getInstance().getGlobalConfig()));
final XhtmlInputDriver idrDriver = new XhtmlInputDriver(process.getInputFeed());
// idrDriver.processDomTree(doc.getDocument());
}
final long endTime = System.currentTimeMillis();
System.out.println("Done!: " + (endTime -startTime));