// freemark
StringWriter writer = new StringWriter();
Configuration configuration = new Configuration();
configuration.setTemplateLoader(new ClassTemplateLoader(PerformanceTest.class, "/"));
Template template = configuration.getTemplate("books.ftl");
template.process(context, writer);
// byte[] ret = null;
long start = System.currentTimeMillis();
for (int i = 0; i < times; i++) {
writer = new StringWriter();
template.process(context, writer);