mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
2.2 KiB
2.2 KiB
date: 2017-09-26 title: "Hugo 0.29: Template Metrics" description: "Makes it easy to find template bottle necks." categories: ["Releases"] slug: "0.29-relnotes" images:
- images/blog/hugo-29-poster.png
Hugo 0.29
brings Template Metrics by @moorereason. Hugo is very fast, but it is still possible to write ineffective templates. Now these should be easy to identify. Just run:
hugo --templateMetrics
Now, that was the tasty carrot. The real reason this release comes so fast after the last one is to change the default value for the new noHTTPCache
flag, which gives away too much performance to make sense as a default value.
Hugo now has:
- 19817+ stars
- 454+ contributors
- 180+ themes
Notes
Enhancements
Templates
- Add simple template metrics feature b4a14c25 @moorereason
- Set Metrics at creation time b5e1dc58 @bep
- Fix sort order d3681f51 @bep
- Add math.Ceil, Floor, and Round to method mappings 8a69d235 @moorereason