- 修复了3.6版本以来开发模式下模板不自动更新的Bug
- 增加格式化函数支持LocalDateTime,来自社区的代码
- 增加SoftReferenceWriter,一定程度上增加Beetl性能
Beetl 是一款全功能,高性能优秀的国产模板引擎,各方面特性领先国外同类引擎技术,可以广泛用于动态页面生成,静态页面生成,代码生成,文本转换,脚本语言和规则引擎等,从 2011 年来一直维护,并得到国内公司用户的赞赏。
Maven
<dependency>
<groupId>com.ibeetl</groupId>
<artifactId>beetl</artifactId>
<version>3.9.0.RELEASE</version>
</dependency>
最新性能测试,各个模板引擎均采用最新版本, Score越大越好
Benchmark Mode Cnt Score Error Units Beetl.benchmark thrpt 5 81446.018 ± 3137.904 ops/s Freemarker.benchmark thrpt 5 22133.302 ± 711.310 ops/s Handlebars.benchmark thrpt 5 19266.315 ± 2265.902 ops/s Rocker.benchmark thrpt 5 46474.477 ± 2004.701 ops/s Thymeleaf.benchmark thrpt 5 6694.076 ± 275.879 ops/s Velocity.benchmark thrpt 5 6427.251 ± 2541.788 ops/s