### Question:
OgnlPropertyExtractor extends DefaultPropertyExtractor { protected Object extract(Object target, String property) throws Exception { if (errorProperties.contains(property)) return null; Object value = null; try { value = expressionEvaluator.eval(property, target); } catch (EvaluationException e) { return null; } if (value instanceof Boolean) { if (null == textResource) { return value; } else { if (Boolean.TRUE.equals(value)) return getText("common.yes", "Y"); else return getText("common.no", "N"); } } else { return value; } } OgnlPropertyExtractor();  OgnlPropertyExtractor(TextResource textResource); ExpressionEvaluator getExpressionEvaluator(); void setExpressionEvaluator(ExpressionEvaluator expressionEvaluator);  }### Answer:
@Test(timeOut = 10000) public void testPerformance() throws Exception { OgnlPropertyExtractor extractor = new OgnlPropertyExtractor(); Stopwatch watch = new Stopwatch().start(); for (int i = 0; i < 1000; i++) { extract(extractor); } logger.debug("1000 extract using" + watch); }