private void testPerformance() throws Exception {
for (int i = 0; i < NUMBER_OF_MOLECULES; i++) {
addChain("urn:foo");
}
System.out.println("Graph size = " + graph.getNumberOfTriples());
MoleculeHeadTripleComparatorImpl tripleComparator = new MoleculeHeadTripleComparatorImpl(
new GroundedTripleComparatorFactoryImpl().newComparator());
Set<Molecule> results = new TreeSet<Molecule>(tripleComparator);
long startTime = System.currentTimeMillis();
Set<Molecule> moleculeSet = decomposer.decompose(graph);
Molecule[] molecules = moleculeSet.toArray(new Molecule[moleculeSet.size()]);