3 ms·
> It is optimized for speed (Hugo sites can be built in milliseconds) I suspect it's based on a minimal set of test cases, not a full site. With hundreds of p
by rodgerd 10y ago
> It is optimized for speed (Hugo sites can be built in milliseconds)
I suspect it's based on a minimal set of test cases, not a full site. With hundreds of pages mine takes anything from 30 seconds to a couple of minutes to build.
- Diti 10y agoAre you using the syntax highlighting (i.e. Pygments) feature? It significantly raises the generation time.
- guitarbill 10y agoAs with everything, this is a huge oversimplification (i.e. Go = faster than scripting languages). I'm dubious if the algorithmic part of static site generators dominates. Would have though it's I/O bounded to some degree, in which case Go isn't going to be faster than anything else. Besides, caching solves this issue better, unless you change the underlying templates.