timing information for creating extended linked data.
This commit is contained in:
parent
77dec8ba76
commit
4ea73f9e9f
1 changed files with 4 additions and 0 deletions
|
@ -672,7 +672,11 @@ public class IndividualController extends FreemarkerHttpServlet {
|
||||||
rootDir = RICH_EXPORT_ROOT + include + "/";
|
rootDir = RICH_EXPORT_ROOT + include + "/";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long start = System.currentTimeMillis();
|
||||||
Model extendedModel = ExtendedLinkedDataUtils.createModelFromQueries(getServletContext(), rootDir, contextModel, entity.getURI());
|
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);
|
newModel.add(extendedModel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue