public void testPerformance(int dummy) throws Exception {
// Traverse the repository for a bunch of ids.
final int batchHint = 100000;
TraversalManager tm = session.getTraversalManager();
tm.setBatchHint(batchHint);
DocumentList docList = tm.startTraversal();
ArrayList<String> docids = new ArrayList<String>();
Document doc;
while ((doc = docList.nextDocument()) != null) {
Property p = doc.findProperty(SpiConstants.PROPNAME_DOCID);
docids.add(p.nextValue().toString());