goTemplateBenchmark
comparing the performance of different template engines (by slinso)
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 (by valyala)
Our great sponsors
goTemplateBenchmark | quicktemplate | |
---|---|---|
1 | 11 | |
223 | 2,866 | |
- | - | |
10.0 | 0.0 | |
5 months ago | 3 months ago | |
Go | Go | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
goTemplateBenchmark
Posts with mentions or reviews of goTemplateBenchmark.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-14.
quicktemplate
Posts with mentions or reviews of quicktemplate.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-08.
-
What is the current ideal choice for server-side rendered web frameworks?
If the question is about templating libraries, then I've seen people use other libraries than the html/template, like https://github.com/hoisie/mustache or https://github.com/valyala/quicktemplate
-
The templ templating language: 2 years later
How would this compare with https://github.com/valyala/quicktemplate?
I originally started out trying to add features to quicktemplate, but didn't get any engagement, so went my own way: https://github.com/valyala/quicktemplate/issues/80
-
Go Time #266: Is htmx the way to Go?
I've been using quick template with htmx and I'm really enjoying the combo. As a mostly backend developer it's a pretty intuitive approach. Now if someone could just build something to simplify working with CSS...
- Ask HN: Slimvoice Alternative?
-
Using multiple repositories in your CI builds
Like with the previous post, we're going to use djinn-ci/imgsrv as an example of using multiple sources in a build manifest. If we look at the top of the manifest file, we will see that it requires three repositories to build. These are, the source code for djinn-ci/imgsrv itself, golang/tools, and valyala/quicktemplate, defined like so,
-
Why Hugo’s Documentation Sucks
I like Hugo quite a lot, but I don't like Go's standard library templates. I wonder if it is possible to use https://github.com/valyala/quicktemplate with Hugo?
-
Templ - a new templating language for Go, with autocomplete, syntax highlighting and formatting
The "Hello World" example is up at https://github.com/a-h/qt-lsp - it's called qt-lsp because I started down this track looking to build IDE support for quicktemplate - https://github.com/valyala/quicktemplate/issues/80 - but didn't think it was practical when I dug into the design of quicktemplate more.
-
How I build web frontends in Go
So for html rendering I prefer quicktemplate
What are some alternatives?
When comparing goTemplateBenchmark and quicktemplate you can also consider the following projects:
pongo2 - Django-syntax like template-engine for Go
Jet Template Engine for GO - Jet template engine
hero - A handy, fast and powerful go template engine.
fasttemplate - Simple and fast template engine for Go
goview - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
gofpdf
Jade - Jade.go - pug template engine for Go (golang)
ego - An ERB-style templating language for Go.
ace - HTML template engine for Go
maroto - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
Plush - The powerful template system that Go needs
sprig - Useful template functions for Go templates.