Revision 892efc69
Added by Andreas Kohlbecker almost 14 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/PartitionerProfiler.java | ||
---|---|---|
104 | 104 |
|
105 | 105 |
public void print(){ |
106 | 106 |
if (logger.isDebugEnabled()){ |
107 |
System.out.println("Durations: " + |
|
108 |
"Start Transaction: " + durTxStartSingle.getMillis() + "/" + durTxStartAll.getMillis() + |
|
109 |
"; partitionRS1: " + durPartitionRs1Single.getMillis() + "/" + durPartitionRs1All.getMillis() + |
|
110 |
"; getRelatedObjects: " + durRelObjectsSingle.getMillis() + "/" + durRelObjectsAll.getMillis() + |
|
111 |
"; partitionRS2 " + durPartitionRs2Single.getMillis() + "/" + durPartitionRs2All.getMillis() + |
|
112 |
"; doPartition " + durPartitionSingle.getMillis() + "/" + durPartitionAll.getMillis() + |
|
113 |
"; doSave " + durSaveSingle.getMillis() + "/" + durSaveAll.getMillis() + |
|
114 |
"; commit " + durTxCommitSingle.getMillis() + "/" + durTxCommitAll.getMillis() |
|
115 |
); |
|
116 |
} |
|
107 |
System.out.println("Durations: " +
|
|
108 |
"Start Transaction: " + durTxStartSingle.getMillis() + "/" + durTxStartAll.getMillis() +
|
|
109 |
"; partitionRS1: " + durPartitionRs1Single.getMillis() + "/" + durPartitionRs1All.getMillis() +
|
|
110 |
"; getRelatedObjects: " + durRelObjectsSingle.getMillis() + "/" + durRelObjectsAll.getMillis() +
|
|
111 |
"; partitionRS2 " + durPartitionRs2Single.getMillis() + "/" + durPartitionRs2All.getMillis() +
|
|
112 |
"; doPartition " + durPartitionSingle.getMillis() + "/" + durPartitionAll.getMillis() +
|
|
113 |
"; doSave " + durSaveSingle.getMillis() + "/" + durSaveAll.getMillis() +
|
|
114 |
"; commit " + durTxCommitSingle.getMillis() + "/" + durTxCommitAll.getMillis()
|
|
115 |
);
|
|
116 |
}
|
|
117 | 117 |
} |
118 | 118 |
|
119 | 119 |
} |
Also available in: Unified diff
merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk