Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

jycr/template-engine-benchmarks

 
 

Repository files navigation

GitHub issues Build Status

template-benchmark

JMH benchmark for popular Java template engines:

And other engines ... (see branch other-template-engines)

NB: The versions of template engines can be deduced by looking in the pom.xml file. Each template engine should have its version suffixed in the template dir inside final JAR.

Running the benchmark

Download the source code and build it: mvn clean verify

If you want to compile, build and launch benchmarks: mvn clean verify -Pperf

Run the entire benchmark suite: java -jar target/template-engine-benchmarks-0.0.1-SNAPSHOT.jar

To run a single benchmark, such as Mustache, use: java -jar target/template-engine-benchmarks-0.0.1-SNAPSHOT.jar MustacheBenchmark

Example Results

Benchmark result can also be available at https://github.com/jycr/template-engine-benchmarks/wiki

About

benchmark collection for template engine

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 82.7%
  • HTML 7.7%
  • Shell 3.9%
  • XSLT 2.9%
  • Groovy 1.3%
  • FreeMarker 1.3%
  • Batchfile 0.2%