템플릿 엔진은 동적 콘텐츠(HTML)을 생성하는데에 쓰입니다.
대표적으로 Spring에서 사용되는 thymeleaf와 Apache Freemarker, Velocity 등이 있네요
github에서 벤치마킹을 한 결과가 있어서 가져왔습니다.
역시 JSP가 가장 빠르네요
https://github.com/jreijn/spring-comparing-template-engines
Groovy ~ 800 seconds
Jade4j 684.7 seconds
Handlebars 161.8 seconds
Scalate - Scaml 34.38 seconds
Velocity 27.49 seconds
Pebble 25.63 seconds
HTTL 22.86 seconds
jTwig 21.23 seconds
Liqp 19.60 seconds
Ickenham 19.50 seconds
Thymeleaf 18.33 seconds
Rythm 17.84 seconds
Rocker 17.63 seconds
Mustache (JMustache) 15.75 seconds
HtmlFlow 15.62 seconds
Chunk 15.04 seconds
Trimou 15.02 seconds
Freemarker 14.74 seconds
JSP 11.22 seconds