How to measure response time for Jackson exporter in aem?
I am using AEM’s Jackson exporter to export AEM content as JSON. I want to know if there is way to measure the response time for Jackson exporter in aem?
For example, http:4502/content/test/jcr:content/root/container/componentName.model.json
...
@Exporter(
name = CommonConstants.JACKSON,
extensions = CommonConstants.JSON,
options = { @ExporterOption(
name = CommonConstants.SERIALIZATION_FEATURE + "." + CommonConstants.WRAP_ROOT_VALUE,
value = CommonConstants.TRUE) })
@JsonRootName("Test")
public class CustomComponent implements CustomComponentSer
{
...
}
Is there any annotation that can be used to masseuse how much time it is taking to response the JSON response?