Beetl 3.3.0.RELEASE,Java 模板引擎 Beetl

  •  引入百度小伙伴对代码风格进行的微调整。
  • 删除核心类GroupTemplate的所有Deprecated方法,可能会导致不兼容,需要使用推荐的API
<dependency>
  <groupId>com.ibeetl</groupId>
  <artifactId>beetl</artifactId>
  <version>3.3.0.RELEASE</version>
</dependency>

Beetl是一款全功能,高性能优秀的国产模板引擎,可以广泛用于动态页面生成,静态页面生成,代码生成,文本转换,脚本语言和规则引擎等,从2011年来,一直维护,并得到国内公司用户的肯定

性能测试

Benchmark             (outputType)   Mode  Cnt      Score      Error  Units
Beetl.benchmark                  1  thrpt   10  86499.426 ±  819.202  ops/s
Beetl.benchmark                  2  thrpt   10  53523.776 ±  365.894  ops/s
Beetl.benchmark                  3  thrpt   10  97586.864 ±  947.663  ops/s
Freemarker.benchmark             1  thrpt   10  23655.886 ±  118.846  ops/s
Freemarker.benchmark             2  thrpt   10  19697.882 ±  115.250  ops/s
Handlebars.benchmark             1  thrpt   10  22828.835 ±  220.474  ops/s
Handlebars.benchmark             2  thrpt   10  22885.014 ±  194.975  ops/s
Rocker.benchmark                 1  thrpt   10  50437.848 ±  475.690  ops/s
Rocker.benchmark                 2  thrpt   10  31419.460 ±   95.329  ops/s
Rocker.benchmark                 3  thrpt   10  88109.687 ±  645.572  ops/s
Thymeleaf.benchmark              1  thrpt   10   7199.343 ±   77.446  ops/s
Thymeleaf.benchmark              2  thrpt   10   5481.519 ±   44.072  ops/s
Velocity.benchmark               1  thrpt   10   7928.416 ±  126.237  ops/s
Velocity.benchmark               2  thrpt   10   7110.021 ±   99.296  ops/s

猜你喜欢

转载自www.oschina.net/news/123195/beetl-3-3-0-release-released