更新了Antlr到4.9.2,另外,其他模板引擎也升级到最新版本,测试结果如下
Benchmark (outputType) Mode Cnt Score Error Units
Beetl.benchmark 1 thrpt 5 84457.196 ± 1023.689 ops/s
Freemarker.benchmark 1 thrpt 5 23607.474 ± 391.247 ops/s
Handlebars.benchmark 1 thrpt 5 22654.605 ± 412.977 ops/s
Thymeleaf.benchmark 1 thrpt 5 6968.233 ± 105.056 ops/s
不得不说,thymeleaf的测试结果还是惨不忍睹啊。说明一下,Handlebars也使用了antlr