Package com.github.mustachejavabenchmarks.simple

Source Code of com.github.mustachejavabenchmarks.simple.SimpleBenchmarkTest

package com.github.mustachejavabenchmarks.simple;

import com.github.mustachejava.DefaultMustacheFactory;
import com.github.mustachejava.reflect.SimpleObjectHandler;
import com.github.mustachejavabenchmarks.BenchmarkTest;

/**
* Compare compilation with interpreter.
* <p/>
* User: sam
* Date: 5/14/11
* Time: 9:28 PM
*/
public class SimpleBenchmarkTest extends BenchmarkTest {
  @Override
  public void testCompiler() {
  }

  @Override
  protected DefaultMustacheFactory createMustacheFactory() {
    DefaultMustacheFactory mf = new DefaultMustacheFactory();
    mf.setObjectHandler(new SimpleObjectHandler());
    return mf;
  }
}
TOP

Related Classes of com.github.mustachejavabenchmarks.simple.SimpleBenchmarkTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.