valyala / quicktemplate

Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How better is quicktemplate than hero?

TuralAsgar opened this issue · comments

I am using hero right now. I want to know what features are much better than hero? Performance is worse than hero I know it.

@tural-esger , hero syntax and template model looks quite complicated comparing to quicktemplate. As for the performance, this may be related to the fact that quicktemplate allows output streaming without the need to buffer all the template output result in memory. From the first sight it looks like hero requires buffering the output result in memory.

We heavily use quicktempalte, performance is worse than hero(or something else) is not true.