Hacker News new | ask | show | jobs
by PuffinBlue 3806 days ago
What's the generation speed like with Hexo? I'm using Hugo but I'm not really enjoying Go templates so I'm curious as to how Hexo performs.
4 comments

Behind the scenes it's just running the usual packages for templates, markdown, minification etc., so for a fresh build it's about as fast as any typical grunt-based setup. But AFAICT it correctly detects when things don't need to be regenerated, so incremental builds are quite fast no matter what, unless you're editing templates.

I recently converted my wordpress blog to hexo and blogged about it, if you're interested:

http://aphall.com/2016/01/migrating-wordpress-to-static/

I like the full width code blocks you have in your design. Your site looks great, and all the better to know it's static!
Thanks very much! Yeah, there's a kind of peace of mind that comes from knowing there are no updates pending, SQL server to configure, etc.

The other nice thing about SSGs is emitting modern output (minified, etc). What comes out of wordpress is a horror show...

I run hexo on a blog of almost 100 articles. Great platform btw. It takes about 20s to generate.

Here's my review of migrating to hexo http://www.primaryobjects.com/2015/12/15/a-tale-of-migrating...

20s for 100 articles is pretty slow.
I wanted the same, ie speed with ease of templating, so I made Griffin[1] which uses handlebars templates and can parse 5000 markdown pages in ~8 seconds on my machine.

[1] https://github.com/pawandubey/griffin

It's not blazingly fast but it's good enough for me - a blog with about 50 posts takes about 30 seconds to deploy from a clean start. It does sensible things like caching the json database and only generating new posts.
Thanks, I will probably give it a try.