for (int i = 0; i < insertBatches; i++) {
// reload the parent in the session after it was saved
parent = session.getNode("/testRoot");
createSubgraph(session, parent, 1, insertBatchSize, propertiesPerChild, true, 1);
}
globalSw.stop();
if (print) {
System.out.println("Inserted " + initialNodeCount + " nodes in: " + globalSw.getSimpleStatistics());
}
globalSw.reset();
globalSw.start();