Comment on Twitter releases new JS template engine: hogan.jsparentComments−jarin14yI may be misunderstanding this, but that benchmark appears to be based on an in-browser compilation, while Hogan's advantage is the ability to precompile templates.−lukebaker14yThe compile happens in the setup of the benchmark. So the actual benchmark is testing the rendering speed of the compiled templates.−devinus14yHandlebars is also capable of precompiling AFAIK.
Comments
I may be misunderstanding this, but that benchmark appears to be based on an in-browser compilation, while Hogan's advantage is the ability to precompile templates.
The compile happens in the setup of the benchmark. So the actual benchmark is testing the rendering speed of the compiled templates.
Handlebars is also capable of precompiling AFAIK.