Slow Build Times Past 1min

Re. build times.

  • If you have moderate amounts of data (e.g. < 10K content pages) slow build times can (almost) always be explained by ineffective templates. Use hugo -h and look for the template metrics flags, which should give you some useful hints.
  • If you have large amounts of data (> 30K) or handle big JSON files etc. in one way or the other, then Hugo currently can be somewhat memory hungry, which could slow things down. I have some improvements in this area coming that should make Hugo scale much, much better …
2 Likes