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

Latest commit

 

History

History
53 lines (38 loc) · 2.11 KB

README.md

File metadata and controls

53 lines (38 loc) · 2.11 KB

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