~pbeaman/akiban-persistit/dynamic-volumes

« back to all changes in this revision

Viewing changes to src/test/java/com/persistit/stress/InsertBigLoad.java

  • Committer: Peter Beaman
  • Date: 2013-03-14 14:36:37 UTC
  • mfrom: (374.37.13 stage)
  • Revision ID: pbeaman@akiban.com-20130314143637-3tn8o0gfb9adqzfg
Merge from trunk with changes for lock pruning fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import com.persistit.TreeBuilder;
22
22
import com.persistit.stress.unit.BigLoad;
23
23
import com.persistit.stress.unit.BigLoad.BigLoadTreeBuilder;
 
24
import com.persistit.util.Util;
24
25
 
25
26
public class InsertBigLoad extends AbstractSuite {
26
27
 
54
55
 
55
56
        try {
56
57
            execute(persistit);
 
58
            final long start = System.nanoTime();
57
59
            tb.merge();
 
60
            final long elapsed = System.nanoTime() - start;
 
61
            System.out.printf("Merge took %,dms", elapsed / Util.NS_PER_MS);
58
62
 
59
63
        } finally {
60
64
            persistit.close();