Note: I put this for now in «support», because I hope you can say that this is because I’m doing something bad. Anyway, maybe this should be in «feature», because incremental builds seems just logic for me.
Yeah. It seems to be so slow, sorry. At least for me.
As example, my hugo build time right now:
Change detected, rebuilding site
2015-04-30 11:39 +0200
0 draft content
0 future content
24 pages created
4 paginator pages created
99 tags created
6 categories created
3 series created
in 14058 ms
(I’m using stable Hugo, v0.13)
Fiuuuu. 14 loooooong seconds. Live reload is pretty funny right now.
And yeah: I use Pygments highlight for code. Why? Because I like it.
Wait, wait! You use Pygments? That’s so damn SLOW! That’s the reason! It’s not Hugo,
its because you use Pygments, man. Hugo is blazing fast.
Aha. Pelican, generating the same content, but more complete (still doesn’t showing TOCs in Hugo, like example, because I’m still migrating, and I have more tags, more categories…):
11:44 $ pelican
Done: Processed 24 article(s), 0 draft(s) and 0 page(s) in 5.65 seconds.
So, I don’t thing this is about the highlight thing. Another reason?
And I’m still adding content. Every article I add, Hugo turns more and more slow.
Something seems odd to me.
Why Hugo, so modern and fast is said it is, is slower than any other static generator I tried before? (Pelican and Acrylamid, basically).
And why it hasn’t incremental builds? Why regenerate everything everytime you change anything in one file, even a single comma? And this (don’t having incremental builds) is just part of the problem: Pelican also hasn’t incremental builds (acrylamid has), and uses python (supposedly should be slower) and… well, it’s three times faster right now (and Hugo gets slower). And just before that, I edit something in an archive and rerun and only 3 seconds in pelican (five times faster). If I do the same in Hugo, it’s as slower as always.
Please, tell me that I’m doing something terribly wrong and that this has an easy miraculous fix T_T.
And don’t tell me «If Pelican or Acrilamyd are so fast, use them instead», because that’s not what I’m asking ;). Any ideas anyone? If needed any more info, like config bla bla, I can post it.
What do you think about the incremental builds thing?
I’m so sorry if I appear to be impolite here. I’m aware that sometimes the way I explain things can look that way. If so, it’s totally not intended. I tend for exaggerate things, and to illustrate things with dramatic examples and/or overreaction, but there isn’t bad intention in any way :þ.
Thanks to all for your time :).