4 ms·
I used Hugo 0.12 to build a 2200+ page non-blog website a few years ago, with Disqus commenting. Completely different than a REST api, but the jaw-dropping part
by mark212 8y ago
I used Hugo 0.12 to build a 2200+ page non-blog website a few years ago, with Disqus commenting. Completely different than a REST api, but the jaw-dropping part was how quickly it all got parsed. Like under 2 seconds. Crazy fast.
- ncphillips 8y agoThat's insane. My <10 page Gatsby site takes 15-20 seconds :/
- mattferderer 8y agoNot necessarily a fair comparison. A bit oranges vs apples there. Most of the Gatsby time is usually doing bundling of css, js, etc with Webpack. I would imagine if you did that with a Hugo site you would run into the initial 15-20 seconds to bundle & then a few seconds to convert all your markdown pages into static HTML pages. That said, I would assume Hugo still wins but not by near as much. So you can argue that Hugo is much faster, if you don't have a use for Webpack on your site. If you don't want the fancy bells & features Gatsby provides, you should for sure pick Hugo over it.
- ncphillips 8y agoGreat point. Hugo does a bit more css processing now, but not nearly as much as Gatsby would.
- sandGorgon 8y agothere is a huge performance rearchitecture going on in Gatsbyjs - https://github.com/gatsbyjs/gatsby/pull/6226/ https://github.com/gatsbyjs/gatsby/pull/6226/ current benchmark: 25000 pages in 32 seconds.