timing information for creating extended linked data.

This commit is contained in:
stellamit 2011-06-07 20:20:38 +00:00
parent 77dec8ba76
commit 4ea73f9e9f

View file

@ -672,7 +672,11 @@ public class IndividualController extends FreemarkerHttpServlet {
rootDir = RICH_EXPORT_ROOT + include + "/";
}
long start = System.currentTimeMillis();
Model extendedModel = ExtendedLinkedDataUtils.createModelFromQueries(getServletContext(), rootDir, contextModel, entity.getURI());
long elapsedTimeMillis = System.currentTimeMillis()-start;
log.info("Time to create rich export model: msecs = " + elapsedTimeMillis);
newModel.add(extendedModel);
}
}