private void createAndLogMultipleCommits(int numCommits) throws Exception { super.doSetUp(); NumberFormat numberFormat = NumberFormat.getInstance(Locale.ENGLISH); System.err.println( "***********\nCreating " + numberFormat.format(numCommits) + " commits..."); Stopwatch sw = Stopwatch.createStarted(); createCommits(numCommits, ""); sw.stop(); System.err.println(numberFormat.format(numCommits) + " created in " + sw.toString()); System.err.flush(); sw.reset().start(); Iterator<RevCommit> commits = geogig.command(LogOp.class).call(); sw.stop(); System.err.println("LogOp took " + sw.toString()); benchmarkIteration(commits); super.tearDown(); }
private void createAndLogMultipleCommits(int numCommits) throws Exception { super.doSetUp(); NumberFormat numberFormat = NumberFormat.getInstance(Locale.ENGLISH); System.err.println( "***********\nCreating " + numberFormat.format(numCommits) + " commits..."); Stopwatch sw = Stopwatch.createStarted(); createCommits(numCommits, ""); sw.stop(); System.err.println(numberFormat.format(numCommits) + " created in " + sw.toString()); System.err.flush(); sw.reset().start(); Iterator<RevCommit> commits = geogig.command(LogOp.class).call(); sw.stop(); System.err.println("LogOp took " + sw.toString()); benchmarkIteration(commits); super.tearDown(); }
benchmarkIteration(commits); super.tearDown();
benchmarkIteration(commits); super.tearDown();