Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
devinus
on Dec 22, 2011
|
parent
|
context
|
favorite
| on:
Twitter releases new JS template engine: hogan.js
Right now Hogan seems to be slower and appears to have less features than Handlebars:
http://jsperf.com/t-bench2/6
squarecog
on Dec 23, 2011
|
next
[–]
Couple hours later, Hogan is faster than Handlebars:
http://jsperf.com/t-bench2/7
jarin
on Dec 22, 2011
|
prev
[–]
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.
lukebaker
on Dec 23, 2011
|
parent
|
next
[–]
The compile happens in the setup of the benchmark. So the actual benchmark is testing the rendering speed of the compiled templates.
devinus
on Dec 22, 2011
|
parent
|
prev
[–]
Handlebars is also capable of precompiling AFAIK.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: