goTemplateBenchmark icon indicating copy to clipboard operation
goTemplateBenchmark copied to clipboard

comparing the performance of different template engines

Results 7 goTemplateBenchmark issues
Sort by recently updated
recently updated
newest added

- feat: add a-h/templ benchmarks - feat: bump templ to 0.2.185

It would be great to have https://github.com/osteele/liquid here too. There is actually an issue on their repo but no one has picked this up: https://github.com/osteele/liquid/issues/31

This is benchmark for HB (https://github.com/gouniverse/hb) a declarative HTML builder

The (incomplete) output from running this locally: ``` ~/Developer/goTemplateBenchmark (gomponents-v1.2.0) $ ./bench.sh -c go 2025-08-20 10:50:07 UTC [ info] OSTYPE: darwin24 2025-08-20 10:50:07 UTC [ info] benchmark duration: 3s 2025-08-20...

I found this repo yesterday while idly browsing repositories that use gomponents. It inspired me to have a look at memory allocation in gomponents, and I've released [v1.2.0](https://github.com/maragudk/gomponents/releases/tag/v1.2.0) today with...