long after = System.currentTimeMillis();
if (EnvConfig.getInstance().allowRecordBenchmark()) {
log.info("\"" + requestPathKeyWithQueryString + "\" takes: " + (after - before) + " ms");
if (EnvConfig.getInstance().allowRecordBenchmarkInHeader()) {
HttpServletResponseWrapper resw = new HttpServletResponseWrapper((HttpServletResponse)response);
resw.addHeader("Exec-Time", (after - before) + " ms");
}
}
clearCachedRequestData();
}