Skip to content

boilit/ebm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Engine Benchmark

注:
EBM的强化版本TEB已发布于oschina的git仓库(TEB的地址)
2014年以前的EBM测试结果在TEB中已经有所发展或是发生改变,请注意时效性,新的测试请转向TEB进行;

目前网络上的Java模板引擎测试基本上都是非独立JVM测试的,
这样做后测试的引擎性能会较高,与实际性能相比有较大偏差,
因此本测试对每个引擎都使用独立JVM测试,保证了各个引擎间环境的公平性;

使用

###1.编译

mvn clean install

###2.修改参数

  • /target/classes/benchmark.bat
  • /target/classes/benchmark.properties

###3.运行

  • Windows 下执行
/target/classes/benchmark.bat
  • Linux暂未支持

测试结果:

JVM: windows oracle-JDK7u45 (32位)
JVM参数: -server -Xms128m -XX:PermSize=32m
预热: 1000
渲染次数: 200000
数据深度: 50
输出编码: UTF-8

report.png

JVM: windows oracle-JDK6u37 (32位)

report.png

参考资料

交流QQ群:109365467

引擎参考:
  BSL
    项目地址:https://github.com/boilit/bsl
    官方地址:http://boilit.github.io/bsl
  Webit-Script
    项目地址:https://github.com/zqq90/webit-script
    官方地址:http://zqq90.github.io/webit-script
  JetBrick-Template
    项目地址:https://github.com/subchen/jetbrick-template
    官方地址:http://subchen.github.io/jetbrick-template
  HTTL
    项目地址:https://github.com/httl/httl
    官方地址:http://httl.github.io
  Beetl
    官方地址:http://ibeetl.com/wordpress
  Rythm
    官方地址:http://rythmengine.org
  Velocity
    官方地址:http://velocity.apache.org
  FreeMarker
    官方地址:http://freemarker.org

软件作者

软件作者:Boilit
作者姓名:于景洋
所在单位:胜利油田胜利软件有限责任公司

Contributors:

License(许可证)

Template Engine Benchmark Test is released under the MIT License. 
See the bundled LICENSE file for details.

Template Engine Benchmark Test依据MIT许可证发布。
详细请看捆绑的LICENSE文件。

About

Template Engine Benchmark Test

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •