* <code>{@link EnhancementJob#isFinished()} == true</code>
*/
protected static void logExecutionTimes(Logger logger, EnhancementJob job){
if(logger.isInfoEnabled()){
try {
ExecutionMetadata em = ExecutionMetadata.parseFrom(
job.getExecutionMetadata(),job.getContentItem().getUri());
ChainExecution ce = em.getChainExecution();
long cd = ce.getDuration();
logger.info("Executed Chain {} in {}ms", ce.getChainName(),
ce.getDuration());
logger.info(" > ContentItem: {}", job.getContentItem().getUri().getUnicodeString());
List<Execution> ees = new ArrayList<Execution>(em.getEngineExecutions().values());
//sort by start date (execution order)
Collections.sort(ees, new Comparator<Execution>() {
@Override
public int compare(Execution e1, Execution e2) {
return e1.getStarted().compareTo(e2.getStarted());